ftglyph.h File Reference

#include <ft2build.h>

Go to the source code of this file.

Classes

struct  FT_GlyphRec_
struct  FT_BitmapGlyphRec_
struct  FT_OutlineGlyphRec_

Defines

#define ft_glyph_bbox_unscaled   FT_GLYPH_BBOX_UNSCALED
#define ft_glyph_bbox_subpixels   FT_GLYPH_BBOX_SUBPIXELS
#define ft_glyph_bbox_gridfit   FT_GLYPH_BBOX_GRIDFIT
#define ft_glyph_bbox_truncate   FT_GLYPH_BBOX_TRUNCATE
#define ft_glyph_bbox_pixels   FT_GLYPH_BBOX_PIXELS

Typedefs

typedef typedefFT_BEGIN_HEADER
struct FT_Glyph_Class_ 
FT_Glyph_Class
typedef FT_GlyphRec_FT_Glyph
typedef FT_GlyphRec_ FT_GlyphRec
typedef FT_BitmapGlyphRec_FT_BitmapGlyph
typedef FT_BitmapGlyphRec_ FT_BitmapGlyphRec
typedef FT_OutlineGlyphRec_FT_OutlineGlyph
typedef FT_OutlineGlyphRec_ FT_OutlineGlyphRec
typedef enum FT_Glyph_BBox_Mode_ FT_Glyph_BBox_Mode

Enumerations

enum  FT_Glyph_BBox_Mode_

Functions

 FT_Get_Glyph (FT_GlyphSlot slot, FT_Glyph *aglyph)
 FT_Glyph_Copy (FT_Glyph source, FT_Glyph *target)
 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)
 FT_Matrix_Multiply (const FT_Matrix *a, FT_Matrix *b)
 FT_Matrix_Invert (FT_Matrix *matrix)


Define Documentation

#define ft_glyph_bbox_gridfit   FT_GLYPH_BBOX_GRIDFIT

Definition at line 346 of file ftglyph.h.

#define ft_glyph_bbox_pixels   FT_GLYPH_BBOX_PIXELS

Definition at line 348 of file ftglyph.h.

Referenced by TTF::LayoutGlyphs().

#define ft_glyph_bbox_subpixels   FT_GLYPH_BBOX_SUBPIXELS

Definition at line 345 of file ftglyph.h.

#define ft_glyph_bbox_truncate   FT_GLYPH_BBOX_TRUNCATE

Definition at line 347 of file ftglyph.h.

#define ft_glyph_bbox_unscaled   FT_GLYPH_BBOX_UNSCALED

Definition at line 344 of file ftglyph.h.


Typedef Documentation

typedef struct FT_BitmapGlyphRec_* FT_BitmapGlyph

Definition at line 127 of file ftglyph.h.

typedef struct FT_BitmapGlyphRec_ FT_BitmapGlyphRec

typedef struct FT_GlyphRec_* FT_Glyph

Definition at line 87 of file ftglyph.h.

typedef enum FT_Glyph_BBox_Mode_ FT_Glyph_BBox_Mode

typedef typedefFT_BEGIN_HEADER struct FT_Glyph_Class_ FT_Glyph_Class

Definition at line 69 of file ftglyph.h.

typedef struct FT_GlyphRec_ FT_GlyphRec

typedef struct FT_OutlineGlyphRec_* FT_OutlineGlyph

Definition at line 179 of file ftglyph.h.

typedef struct FT_OutlineGlyphRec_ FT_OutlineGlyphRec


Enumeration Type Documentation

enum FT_Glyph_BBox_Mode_

Definition at line 317 of file ftglyph.h.


Function Documentation

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().

FT_Glyph_Copy ( FT_Glyph  source,
FT_Glyph target 
)

Definition at line 306 of file ftglyph.c.

References copy(), error, and FT_Done_Glyph().

Referenced by FT_Glyph_Stroke(), and FT_Glyph_StrokeBorder().

FT_Glyph_Get_CBox ( FT_Glyph  glyph,
FT_UInt  bbox_mode,
FT_BBox acbox 
)

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().

FT_Glyph_Transform ( FT_Glyph  glyph,
FT_Matrix matrix,
FT_Vector delta 
)

Definition at line 421 of file ftglyph.c.

References error, and FT_Vector_Transform().

Referenced by FT_Glyph_To_Bitmap(), and TTF::LayoutGlyphs().

FT_Matrix_Invert ( FT_Matrix matrix  ) 

Definition at line 723 of file ftcalc.c.

References FT_DivFix(), FT_MulFix(), and FT_Pos.

Referenced by af_loader_load_g().

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 701 of file ftcalc.c.

References FT_MulFix(), and xy.


Generated on Tue Jul 5 15:58:19 2011 for ROOT_528-00b_version by  doxygen 1.5.1