Anurag Thakur pushed to branch gsoc-anurag-2023 at FreeType / FreeType
Commits:
-
ec9b505f
by Anurag Thakur at 2023-09-28T00:33:18+05:30
1 changed file:
Changes:
... | ... | @@ -2685,6 +2685,14 @@ |
2685 | 2685 | // FT_TRACE5(( " line to (%.2f, %.2f)\n",
|
2686 | 2686 | // (double)v_start.x / 64, (double)v_start.y / 64 ));
|
2687 | 2687 | // error = func_interface->line_to( &v_start, user );
|
2688 | + FT_PreLine pl = malloc(sizeof(FT_PreLineRec));
|
|
2689 | + pl->x1 = ptr->x2;
|
|
2690 | + pl->y1 = ptr->y2;
|
|
2691 | + pl->x2 = v_start.x/64;
|
|
2692 | + pl->y2 = v_start.y/64;
|
|
2693 | + pl->next = NULL;
|
|
2694 | + ptr->next = pl;
|
|
2695 | + ptr = ptr->next;
|
|
2688 | 2696 |
|
2689 | 2697 | }
|
2690 | 2698 |