freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][gsoc-anurag-2023] Close contour with line segme


From: Anurag Thakur (@AdbhutDev)
Subject: [Git][freetype/freetype][gsoc-anurag-2023] Close contour with line segment
Date: Wed, 27 Sep 2023 19:03:45 +0000

Anurag Thakur pushed to branch gsoc-anurag-2023 at FreeType / FreeType

Commits:

  • ec9b505f
    by Anurag Thakur at 2023-09-28T00:33:18+05:30
    Close contour with line segment
    

1 changed file:

Changes:

  • src/base/ftobjs.c
    ... ... @@ -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
     
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]