#include <ft2build.h>
#include "basepic.h"
Go to the source code of this file.
Defines | |
#define | FT_COMPONENT trace_glyph |
Functions | |
ft_bitmap_glyph_init (FT_Glyph bitmap_glyph, FT_GlyphSlot slot) | |
ft_bitmap_glyph_copy (FT_Glyph bitmap_source, FT_Glyph bitmap_target) | |
ft_bitmap_glyph_done (FT_Glyph bitmap_glyph) | |
ft_bitmap_glyph_bbox (FT_Glyph bitmap_glyph, FT_BBox *cbox) | |
FT_DEFINE_GLYPH (ft_bitmap_glyph_class, sizeof(FT_BitmapGlyphRec), FT_GLYPH_FORMAT_BITMAP, ft_bitmap_glyph_init, ft_bitmap_glyph_done, ft_bitmap_glyph_copy, 0, ft_bitmap_glyph_bbox, 0) | |
ft_outline_glyph_done (FT_Glyph outline_glyph) | |
ft_outline_glyph_copy (FT_Glyph outline_source, FT_Glyph outline_target) | |
ft_outline_glyph_transform (FT_Glyph outline_glyph, const FT_Matrix *matrix, const FT_Vector *delta) | |
ft_outline_glyph_bbox (FT_Glyph outline_glyph, FT_BBox *bbox) | |
ft_outline_glyph_prepare (FT_Glyph outline_glyph, FT_GlyphSlot slot) | |
FT_DEFINE_GLYPH (ft_outline_glyph_class, sizeof(FT_OutlineGlyphRec), FT_GLYPH_FORMAT_OUTLINE, ft_outline_glyph_init, ft_outline_glyph_done, ft_outline_glyph_copy, ft_outline_glyph_transform, ft_outline_glyph_bbox, ft_outline_glyph_prepare) | |
FT_Glyph_Copy (FT_Glyph source, FT_Glyph *target) | |
FT_Get_Glyph (FT_GlyphSlot slot, FT_Glyph *aglyph) | |
FT_Glyph_Transform (FT_Glyph glyph, FT_Matrix *matrix, FT_Vector *delta) | |
FT_Glyph_Get_CBox (FT_Glyph glyph, FT_UInt bbox_mode, FT_BBox *acbox) | |
FT_Glyph_To_Bitmap (FT_Glyph *the_glyph, FT_Render_Mode render_mode, FT_Vector *origin, FT_Bool destroy) | |
FT_Done_Glyph (FT_Glyph glyph) |
Definition at line 120 of file ftglyph.c.
References FT_BitmapGlyphRec_::bitmap, FT_BitmapGlyphRec_::left, FT_Bitmap_::rows, FT_BitmapGlyphRec_::top, and FT_Bitmap_::width.
ft_bitmap_glyph_done | ( | FT_Glyph | bitmap_glyph | ) |
Definition at line 109 of file ftglyph.c.
References FT_BitmapGlyphRec_::bitmap, FT_Bitmap_Done(), and FT_GLYPH.
ft_bitmap_glyph_init | ( | FT_Glyph | bitmap_glyph, | |
FT_GlyphSlot | slot | |||
) |
Definition at line 58 of file ftglyph.c.
References FT_BitmapGlyphRec_::bitmap, error, FT_Bitmap_Copy(), FT_Bitmap_New(), FT_GLYPH, FT_GLYPH_FORMAT_BITMAP, FT_GLYPH_OWN_BITMAP, FT_BitmapGlyphRec_::left, and FT_BitmapGlyphRec_::top.
Referenced by FT_Glyph_To_Bitmap().
FT_DEFINE_GLYPH | ( | ft_outline_glyph_class | , | |
sizeof(FT_OutlineGlyphRec) | , | |||
FT_GLYPH_FORMAT_OUTLINE | , | |||
ft_outline_glyph_init | , | |||
ft_outline_glyph_done | , | |||
ft_outline_glyph_copy | , | |||
ft_outline_glyph_transform | , | |||
ft_outline_glyph_bbox | , | |||
ft_outline_glyph_prepare | ||||
) |
Definition at line 257 of file ftglyph.c.
References FT_GlyphRec_::clazz, error, FT_GlyphRec_::format, FT_ALLOC, and FT_GlyphRec_::library.
FT_DEFINE_GLYPH | ( | ft_bitmap_glyph_class | , | |
sizeof(FT_BitmapGlyphRec) | , | |||
FT_GLYPH_FORMAT_BITMAP | , | |||
ft_bitmap_glyph_init | , | |||
ft_bitmap_glyph_done | , | |||
ft_bitmap_glyph_copy | , | |||
0 | , | |||
ft_bitmap_glyph_bbox | , | |||
0 | ||||
) |
Definition at line 133 of file ftglyph.c.
References error, FT_GLYPH, FT_GLYPH_FORMAT_OUTLINE, FT_Outline_Copy(), FT_Outline_New(), and FT_OutlineGlyphRec_::outline.
FT_Done_Glyph | ( | FT_Glyph | glyph | ) |
Definition at line 611 of file ftglyph.c.
References FT_FREE, and FT_Glyph_Class_::glyph_done.
Referenced by FT_Get_Glyph(), FT_Glyph_Copy(), FT_Glyph_Stroke(), FT_Glyph_StrokeBorder(), FT_Glyph_To_Bitmap(), ftc_inode_free(), and TTF::LayoutGlyphs().
FT_Get_Glyph | ( | FT_GlyphSlot | slot, | |
FT_Glyph * | aglyph | |||
) |
Definition at line 353 of file ftglyph.c.
References FT_GlyphRec_::advance, error, FT_BITMAP_GLYPH_CLASS_GET, FT_Done_Glyph(), FT_GLYPH_FORMAT_BITMAP, FT_GLYPH_FORMAT_OUTLINE, FT_Lookup_Renderer(), FT_OUTLINE_GLYPH_CLASS_GET, FT_RendererRec_::glyph_class, FT_Vector_::x, and FT_Vector_::y.
Referenced by ftc_basic_family_load_glyph(), and TTF::LayoutGlyphs().
Definition at line 306 of file ftglyph.c.
References copy(), error, and FT_Done_Glyph().
Referenced by FT_Glyph_Stroke(), and FT_Glyph_StrokeBorder().
Definition at line 453 of file ftglyph.c.
References FT_GLYPH_BBOX_GRIDFIT, FT_GLYPH_BBOX_PIXELS, FT_GLYPH_BBOX_TRUNCATE, FT_PIX_CEIL, FT_PIX_FLOOR, and FT_Glyph_Class_::glyph_bbox.
Referenced by TTF::LayoutGlyphs().
FT_Glyph_To_Bitmap | ( | FT_Glyph * | the_glyph, | |
FT_Render_Mode | render_mode, | |||
FT_Vector * | origin, | |||
FT_Bool | destroy | |||
) |
Definition at line 505 of file ftglyph.c.
References FT_GlyphRec_::advance, FT_GlyphRec_::clazz, dummy, error, FT_BITMAP_GLYPH_CLASS_GET, ft_bitmap_glyph_init(), FT_Done_Glyph(), FT_GLYPH, FT_Glyph_Transform(), FT_MEM_ZERO, FT_Render_Glyph_Internal(), FT_UNUSED, FT_GlyphRec_::library, and NULL.
Referenced by TASImage::DrawText(), TASImage::DrawTextTTF(), TGWin32::RenderString(), and TGX11TTF::RenderString().
Definition at line 421 of file ftglyph.c.
References error, and FT_Vector_Transform().
Referenced by FT_Glyph_To_Bitmap(), and TTF::LayoutGlyphs().
Definition at line 232 of file ftglyph.c.
References FT_Outline_Get_CBox(), and FT_OutlineGlyphRec_::outline.
Definition at line 197 of file ftglyph.c.
References error, FT_GLYPH, FT_Outline_Copy(), and FT_Outline_New().
ft_outline_glyph_done | ( | FT_Glyph | outline_glyph | ) |
ft_outline_glyph_prepare | ( | FT_Glyph | outline_glyph, | |
FT_GlyphSlot | slot | |||
) |
Definition at line 243 of file ftglyph.c.
References FT_Outline_::flags, FT_GLYPH_FORMAT_OUTLINE, FT_OUTLINE_OWNER, and FT_OutlineGlyphRec_::outline.
ft_outline_glyph_transform | ( | FT_Glyph | outline_glyph, | |
const FT_Matrix * | matrix, | |||
const FT_Vector * | delta | |||
) |
Definition at line 216 of file ftglyph.c.
References FT_Outline_Transform(), FT_Outline_Translate(), and FT_OutlineGlyphRec_::outline.