zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftglyph.h File Reference
#include <ft2build.h>
#include <FT_FREETYPE_H>

Go to the source code of this file.

Classes

struct  FT_BitmapGlyphRec_
 
struct  FT_GlyphRec_
 
struct  FT_OutlineGlyphRec_
 

Macros

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

Typedefs

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

Enumerations

enum  FT_Glyph_BBox_Mode_ {
  FT_GLYPH_BBOX_UNSCALED = 0, FT_GLYPH_BBOX_SUBPIXELS = 0, FT_GLYPH_BBOX_GRIDFIT = 1, FT_GLYPH_BBOX_TRUNCATE = 2,
  FT_GLYPH_BBOX_PIXELS = 3
}
 

Functions

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

Macro Definition 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.

#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

Definition at line 127 of file ftglyph.h.

typedef struct FT_GlyphRec_* FT_Glyph

Definition at line 87 of file ftglyph.h.

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

Definition at line 179 of file ftglyph.h.

Enumeration Type Documentation

Enumerator
FT_GLYPH_BBOX_UNSCALED 
FT_GLYPH_BBOX_SUBPIXELS 
FT_GLYPH_BBOX_GRIDFIT 
FT_GLYPH_BBOX_TRUNCATE 
FT_GLYPH_BBOX_PIXELS 

Definition at line 317 of file ftglyph.h.

Function Documentation

FT_Done_Glyph ( FT_Glyph  glyph)
FT_Glyph_Copy ( FT_Glyph  source,
FT_Glyph target 
)
FT_Glyph_Get_CBox ( FT_Glyph  glyph,
FT_UInt  bbox_mode,
FT_BBox acbox 
)
FT_Glyph_Transform ( FT_Glyph  glyph,
FT_Matrix matrix,
FT_Vector delta 
)

Definition at line 421 of file ftglyph.c.

References error, FT_Err_Invalid_Argument, FT_Err_Ok, and FT_Vector_Transform().

Referenced by FT_Glyph_To_Bitmap().

FT_Matrix_Invert ( FT_Matrix matrix)

Definition at line 724 of file ftcalc.c.

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

Referenced by af_loader_load_g().

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 702 of file ftcalc.c.

References FT_MulFix().