19 #ifndef __FTGLOADR_H__ 20 #define __FTGLOADR_H__ 24 #include FT_FREETYPE_H 47 #define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS 1 48 #define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES 2 49 #define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID 4 50 #define FT_SUBGLYPH_FLAG_SCALE 8 51 #define FT_SUBGLYPH_FLAG_XY_SCALE 0x40 52 #define FT_SUBGLYPH_FLAG_2X2 0x80 53 #define FT_SUBGLYPH_FLAG_USE_MY_METRICS 0x200 98 FT_GlyphLoader *aloader );
124 #define FT_GLYPHLOADER_CHECK_P( _loader, _count ) \ 125 ( (_count) == 0 || ((_loader)->base.outline.n_points + \ 126 (_loader)->current.outline.n_points + \ 127 (unsigned long)(_count)) <= (_loader)->max_points ) 129 #define FT_GLYPHLOADER_CHECK_C( _loader, _count ) \ 130 ( (_count) == 0 || ((_loader)->base.outline.n_contours + \ 131 (_loader)->current.outline.n_contours + \ 132 (unsigned long)(_count)) <= (_loader)->max_contours ) 134 #define FT_GLYPHLOADER_CHECK_POINTS( _loader, _points,_contours ) \ 135 ( ( FT_GLYPHLOADER_CHECK_P( _loader, _points ) && \ 136 FT_GLYPHLOADER_CHECK_C( _loader, _contours ) ) \ 138 : FT_GlyphLoader_CheckPoints( (_loader), (_points), (_contours) ) ) struct FT_SubGlyphRec_ FT_SubGlyphRec
GLsizei GLsizei GLchar * source
FT_GlyphLoader_New(FT_Memory memory, FT_GlyphLoader *aloader)
FT_GlyphLoader_CopyPoints(FT_GlyphLoader target, FT_GlyphLoader source)
FT_BEGIN_HEADER typedef unsigned char FT_Bool
FT_GlyphLoader_CreateExtra(FT_GlyphLoader loader)
FT_GlyphLoader_Reset(FT_GlyphLoader loader)
struct FT_GlyphLoaderRec_ FT_GlyphLoaderRec
typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_ * FT_GlyphLoader
FT_GlyphLoader_Add(FT_GlyphLoader loader)
FT_GlyphLoader_Done(FT_GlyphLoader loader)
FT_GlyphLoader_CheckSubGlyphs(FT_GlyphLoader loader, FT_UInt n_subs)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
struct FT_GlyphLoadRec_ * FT_GlyphLoad
FT_GlyphLoader_Rewind(FT_GlyphLoader loader)
FT_GlyphLoader_Prepare(FT_GlyphLoader loader)
struct FT_GlyphLoadRec_ FT_GlyphLoadRec
FT_Vector * extra_points2
FT_GlyphLoader_CheckPoints(FT_GlyphLoader loader, FT_UInt n_points, FT_UInt n_contours)