freetype-commit
[Top][All Lists]
Advanced

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

[Git][freetype/freetype][master] Document `FT_Outline_Decompose` degener


From: Werner Lemberg (@wl)
Subject: [Git][freetype/freetype][master] Document `FT_Outline_Decompose` degenerate segments.
Date: Thu, 27 Jan 2022 20:51:27 +0000

Werner Lemberg pushed to branch master at FreeType / FreeType

Commits:

1 changed file:

Changes:

  • include/freetype/ftoutln.h
    ... ... @@ -109,11 +109,13 @@ FT_BEGIN_HEADER
    109 109
        *   FreeType error code.  0~means success.
    
    110 110
        *
    
    111 111
        * @note:
    
    112
    -   *   A contour that contains a single point only is represented by a 'move
    
    113
    -   *   to' operation followed by 'line to' to the same point.  In most cases,
    
    114
    -   *   it is best to filter this out before using the outline for stroking
    
    115
    -   *   purposes (otherwise it would result in a visible dot when round caps
    
    116
    -   *   are used).
    
    112
    +   *   Degenerate contours, segments, and Bezier arcs may be reported.  In
    
    113
    +   *   most cases, it is best to filter these out before using the outline
    
    114
    +   *   for stroking or other path modification purposes (which may cause
    
    115
    +   *   degenerate segments to become non-degenrate and visible, like when
    
    116
    +   *   stroke caps are used or the path is otherwise outset).  Some glyph
    
    117
    +   *   outlines may contain deliberate degenerate single points for mark
    
    118
    +   *   attachement.
    
    117 119
        *
    
    118 120
        *   Similarly, the function returns success for an empty outline also
    
    119 121
        *   (doing nothing, this is, not calling any emitter); if necessary, you
    


  • reply via email to

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