zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftglyph.c File Reference
#include <ft2build.h>
#include <FT_GLYPH_H>
#include <FT_OUTLINE_H>
#include <FT_BITMAP_H>
#include <FT_INTERNAL_OBJECTS_H>
#include "basepic.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_glyph
 

Functions

 ft_bitmap_glyph_bbox (FT_Glyph bitmap_glyph, FT_BBox *cbox)
 
 ft_bitmap_glyph_copy (FT_Glyph bitmap_source, FT_Glyph bitmap_target)
 
 ft_bitmap_glyph_done (FT_Glyph bitmap_glyph)
 
 ft_bitmap_glyph_init (FT_Glyph bitmap_glyph, FT_GlyphSlot slot)
 
 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_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_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_outline_glyph_bbox (FT_Glyph outline_glyph, FT_BBox *bbox)
 
 ft_outline_glyph_copy (FT_Glyph outline_source, FT_Glyph outline_target)
 
 ft_outline_glyph_done (FT_Glyph outline_glyph)
 
 ft_outline_glyph_prepare (FT_Glyph outline_glyph, FT_GlyphSlot slot)
 
 ft_outline_glyph_transform (FT_Glyph outline_glyph, const FT_Matrix *matrix, const FT_Vector *delta)
 

Macro Definition Documentation

#define FT_COMPONENT   trace_glyph

Definition at line 46 of file ftglyph.c.

Function Documentation

ft_bitmap_glyph_bbox ( FT_Glyph  bitmap_glyph,
FT_BBox cbox 
)
ft_bitmap_glyph_copy ( FT_Glyph  bitmap_source,
FT_Glyph  bitmap_target 
)
ft_bitmap_glyph_done ( FT_Glyph  bitmap_glyph)

Definition at line 109 of file ftglyph.c.

References FT_BitmapGlyphRec_::bitmap, FT_Bitmap_Done(), FT_GLYPH, and library.

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_outline_glyph_bbox ( FT_Glyph  outline_glyph,
FT_BBox bbox 
)

Definition at line 232 of file ftglyph.c.

References FT_Outline_Get_CBox(), and FT_OutlineGlyphRec_::outline.

ft_outline_glyph_copy ( FT_Glyph  outline_source,
FT_Glyph  outline_target 
)
ft_outline_glyph_done ( FT_Glyph  outline_glyph)

Definition at line 187 of file ftglyph.c.

References FT_GLYPH, FT_Outline_Done(), library, and FT_OutlineGlyphRec_::outline.

ft_outline_glyph_prepare ( FT_Glyph  outline_glyph,
FT_GlyphSlot  slot 
)
ft_outline_glyph_transform ( FT_Glyph  outline_glyph,
const FT_Matrix matrix,
const FT_Vector delta 
)