40 #ifndef AGS_LIB_FREETYPE_FTGLOADR_H 41 #define AGS_LIB_FREETYPE_FTGLOADR_H 44 #include "graphics/fonts/freetype.h" 47 namespace FreeType213 {
50 typedef struct FT_GlyphLoaderRec_ *FT_GlyphLoader;
52 #define FT_SUBGLYPH_FLAG_ARGS_ARE_WORDS 1 53 #define FT_SUBGLYPH_FLAG_ARGS_ARE_XY_VALUES 2 54 #define FT_SUBGLYPH_FLAG_ROUND_XY_TO_GRID 4 55 #define FT_SUBGLYPH_FLAG_SCALE 8 56 #define FT_SUBGLYPH_FLAG_XY_SCALE 0x40 57 #define FT_SUBGLYPH_FLAG_2X2 0x80 58 #define FT_SUBGLYPH_FLAG_USE_MY_METRICS 0x200 62 FT_GLYPH_OWN_BITMAP = 1
79 FT_Vector *extra_points;
80 FT_UInt num_subglyphs;
81 FT_SubGlyph subglyphs;
90 FT_UInt max_subglyphs;
102 FT_Error FT_GlyphLoader_New(FT_Memory memory, FT_GlyphLoader *aloader);
105 FT_Error FT_GlyphLoader_CreateExtra(FT_GlyphLoader loader);
108 void FT_GlyphLoader_Done(FT_GlyphLoader loader);
111 void FT_GlyphLoader_Reset(FT_GlyphLoader loader);
114 void FT_GlyphLoader_Rewind(FT_GlyphLoader loader);
118 FT_Error FT_GlyphLoader_CheckPoints(FT_GlyphLoader loader, FT_UInt n_points, FT_UInt n_contours);
122 FT_Error FT_GlyphLoader_CheckSubGlyphs(FT_GlyphLoader loader, FT_UInt n_subs);
125 void FT_GlyphLoader_Prepare(FT_GlyphLoader loader);
128 void FT_GlyphLoader_Add(FT_GlyphLoader loader);
131 FT_Error FT_GlyphLoader_CopyPoints(FT_GlyphLoader target, FT_GlyphLoader source);
Definition: ftgloadr.h:86
Definition: ftgloadr.h:66
Definition: ftgloadr.h:77