/[freetype]/freetype2/src/autofit/afhints.h
ViewVC logotype

Diff of /freetype2/src/autofit/afhints.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by freetype, Mon Feb 28 22:09:07 2005 UTC revision 1.9 by freetype, Tue Mar 1 15:48:29 2005 UTC
# Line 84  FT_BEGIN_HEADER Line 84  FT_BEGIN_HEADER
84    
85    typedef struct  AF_PointRec_    typedef struct  AF_PointRec_
86    {    {
87      AF_Flags      flags;    /* point flags used by hinter */      FT_UShort     flags;    /* point flags used by hinter */
88        FT_Char       in_dir;   /* direction of inwards vector  */
89        FT_Char       out_dir;  /* direction of outwards vector */
90    
91      FT_Pos        ox, oy;   /* original, scaled position  */      FT_Pos        ox, oy;   /* original, scaled position  */
92      FT_Short      fx, fy;   /* original, unscaled position (font units) */      FT_Short      fx, fy;   /* original, unscaled position (font units) */
93      FT_Pos        x,  y;    /* current position */      FT_Pos        x,  y;    /* current position */
94      FT_Pos        u,  v;    /* current (x,y) or (y,x) depending on context */      FT_Pos        u,  v;    /* current (x,y) or (y,x) depending on context */
95    
     FT_Char       in_dir;   /* direction of inwards vector  */  
     FT_Char       out_dir;  /* direction of outwards vector */  
   
96      AF_Point      next;     /* next point in contour     */      AF_Point      next;     /* next point in contour     */
97      AF_Point      prev;     /* previous point in contour */      AF_Point      prev;     /* previous point in contour */
98    
# Line 101  FT_BEGIN_HEADER Line 101  FT_BEGIN_HEADER
101    
102    typedef struct  AF_SegmentRec_    typedef struct  AF_SegmentRec_
103    {    {
104      AF_Edge_Flags  flags;       /* edge/segment flags for this segment */      FT_Byte        flags;       /* edge/segment flags for this segment */
105      FT_Char        dir;         /* segment direction                   */      FT_Char        dir;         /* segment direction                   */
106      FT_Short       pos;         /* position of segment                 */      FT_Short       pos;         /* position of segment                 */
107      FT_Short       min_coord;   /* minimum coordinate of segment       */      FT_Short       min_coord;   /* minimum coordinate of segment       */
# Line 148  FT_BEGIN_HEADER Line 148  FT_BEGIN_HEADER
148    typedef struct AF_AxisHintsRec_    typedef struct AF_AxisHintsRec_
149    {    {
150      FT_Int        num_segments;      FT_Int        num_segments;
151        FT_Int        max_segments;
152      AF_Segment    segments;      AF_Segment    segments;
153    
154      FT_Int        num_edges;      FT_Int        num_edges;
155        FT_Int        max_edges;
156      AF_Edge       edges;      AF_Edge       edges;
157    
158      AF_Direction  major_dir;      AF_Direction  major_dir;
# Line 205  FT_BEGIN_HEADER Line 207  FT_BEGIN_HEADER
207                          FT_Pos  dy );                          FT_Pos  dy );
208    
209    
210      FT_LOCAL( FT_Error )
211      af_axis_hints_new_segment( AF_AxisHints  axis,
212                                 FT_Memory     memory,
213                                 AF_Segment   *asegment );
214    
215      FT_LOCAL( FT_Error)
216      af_axis_hints_new_edge( AF_AxisHints  axis,
217                              FT_Int        fpos,
218                              FT_Memory     memory,
219                              AF_Edge      *edge );
220    
221    FT_LOCAL( void )    FT_LOCAL( void )
222    af_glyph_hints_init( AF_GlyphHints  hints,    af_glyph_hints_init( AF_GlyphHints  hints,
223                         FT_Memory      memory );                         FT_Memory      memory );

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26