zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
pfrgload.c File Reference
#include "pfrgload.h"
#include "pfrsbit.h"
#include "pfrload.h"
#include <FT_INTERNAL_DEBUG_H>
#include "pfrerror.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_pfr
 

Functions

static void pfr_glyph_close_contour (PFR_Glyph glyph)
 
static FT_Error pfr_glyph_curve_to (PFR_Glyph glyph, FT_Vector *control1, FT_Vector *control2, FT_Vector *to)
 
 pfr_glyph_done (PFR_Glyph glyph)
 
static void pfr_glyph_end (PFR_Glyph glyph)
 
 pfr_glyph_init (PFR_Glyph glyph, FT_GlyphLoader loader)
 
static FT_Error pfr_glyph_line_to (PFR_Glyph glyph, FT_Vector *to)
 
 pfr_glyph_load (PFR_Glyph glyph, FT_Stream stream, FT_ULong gps_offset, FT_ULong offset, FT_ULong size)
 
static FT_Error pfr_glyph_load_compound (PFR_Glyph glyph, FT_Byte *p, FT_Byte *limit)
 
static FT_Error pfr_glyph_load_rec (PFR_Glyph glyph, FT_Stream stream, FT_ULong gps_offset, FT_ULong offset, FT_ULong size)
 
static FT_Error pfr_glyph_load_simple (PFR_Glyph glyph, FT_Byte *p, FT_Byte *limit)
 
static FT_Error pfr_glyph_move_to (PFR_Glyph glyph, FT_Vector *to)
 
static void pfr_glyph_start (PFR_Glyph glyph)
 

Macro Definition Documentation

#define FT_COMPONENT   trace_pfr

Definition at line 27 of file pfrgload.c.

Function Documentation

pfr_glyph_done ( PFR_Glyph  glyph)

Definition at line 53 of file pfrgload.c.

References FT_FREE, and NULL.

Referenced by pfr_slot_done().

static void pfr_glyph_end ( PFR_Glyph  glyph)
static

Definition at line 226 of file pfrgload.c.

References FT_GlyphLoader_Add(), PFR_GlyphRec_::loader, and pfr_glyph_close_contour().

Referenced by pfr_glyph_load_simple().

pfr_glyph_init ( PFR_Glyph  glyph,
FT_GlyphLoader  loader 
)

Definition at line 40 of file pfrgload.c.

References FT_GlyphLoader_Rewind(), and FT_ZERO.

Referenced by pfr_slot_init().

pfr_glyph_load ( PFR_Glyph  glyph,
FT_Stream  stream,
FT_ULong  gps_offset,
FT_ULong  offset,
FT_ULong  size 
)

Definition at line 828 of file pfrgload.c.

References FT_GlyphLoader_Rewind(), and pfr_glyph_load_rec().

Referenced by pfr_slot_load().

static FT_Error pfr_glyph_move_to ( PFR_Glyph  glyph,
FT_Vector to 
)
static
static void pfr_glyph_start ( PFR_Glyph  glyph)
static

Definition at line 120 of file pfrgload.c.

References PFR_GlyphRec_::path_begun.

Referenced by pfr_glyph_load_simple().