Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Classes | Macros | Typedefs | Functions
ftgloadr.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

struct  FT_SubGlyphRec_
 
struct  FT_GlyphLoadRec_
 
struct  FT_GlyphLoaderRec_
 

Macros

#define FT_GLYPHLOADER_CHECK_P(_loader, _count)
 
#define FT_GLYPHLOADER_CHECK_C(_loader, _count)
 
#define FT_GLYPHLOADER_CHECK_POINTS(_loader, _points, _contours)
 

Typedefs

typedef typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_FT_GlyphLoader
 
typedef struct FT_SubGlyphRec_ FT_SubGlyphRec
 
typedef struct FT_GlyphLoadRec_ FT_GlyphLoadRec
 
typedef struct FT_GlyphLoadRec_FT_GlyphLoad
 
typedef struct FT_GlyphLoaderRec_ FT_GlyphLoaderRec
 

Functions

 FT_GlyphLoader_New (FT_Memory memory, FT_GlyphLoader *aloader)
 
 FT_GlyphLoader_CreateExtra (FT_GlyphLoader loader)
 
 FT_GlyphLoader_Done (FT_GlyphLoader loader)
 
 FT_GlyphLoader_Reset (FT_GlyphLoader loader)
 
 FT_GlyphLoader_Rewind (FT_GlyphLoader loader)
 
 FT_GlyphLoader_CheckPoints (FT_GlyphLoader loader, FT_UInt n_points, FT_UInt n_contours)
 
 FT_GlyphLoader_CheckSubGlyphs (FT_GlyphLoader loader, FT_UInt n_subs)
 
 FT_GlyphLoader_Prepare (FT_GlyphLoader loader)
 
 FT_GlyphLoader_Add (FT_GlyphLoader loader)
 
 FT_GlyphLoader_CopyPoints (FT_GlyphLoader target, FT_GlyphLoader source)
 

Macro Definition Documentation

◆ FT_GLYPHLOADER_CHECK_C

#define FT_GLYPHLOADER_CHECK_C (   _loader,
  _count 
)
Value:
( (_count) == 0 || ((_loader)->base.outline.n_contours + \
(_loader)->current.outline.n_contours + \
(unsigned long)(_count)) <= (_loader)->max_contours )

Definition at line 129 of file ftgloadr.h.

◆ FT_GLYPHLOADER_CHECK_P

#define FT_GLYPHLOADER_CHECK_P (   _loader,
  _count 
)
Value:
( (_count) == 0 || ((_loader)->base.outline.n_points + \
(_loader)->current.outline.n_points + \
(unsigned long)(_count)) <= (_loader)->max_points )

Definition at line 124 of file ftgloadr.h.

◆ FT_GLYPHLOADER_CHECK_POINTS

#define FT_GLYPHLOADER_CHECK_POINTS (   _loader,
  _points,
  _contours 
)
Value:
( ( FT_GLYPHLOADER_CHECK_P( _loader, _points ) && \
FT_GLYPHLOADER_CHECK_C( _loader, _contours ) ) \
? 0 \
: FT_GlyphLoader_CheckPoints( (_loader), (_points), (_contours) ) )
#define FT_GLYPHLOADER_CHECK_P(_loader, _count)
Definition: ftgloadr.h:124
FT_GlyphLoader_CheckPoints(FT_GlyphLoader loader, FT_UInt n_points, FT_UInt n_contours)
Definition: ftgloadr.c:201

Definition at line 134 of file ftgloadr.h.

Referenced by cff_check_points(), t1_builder_add_contour(), t1_builder_check_points(), and TT_Load_Simple_Glyph().

Typedef Documentation

◆ FT_GlyphLoad

typedef struct FT_GlyphLoadRec_ * FT_GlyphLoad

◆ FT_GlyphLoader

typedef typedefFT_BEGIN_HEADER struct FT_GlyphLoaderRec_* FT_GlyphLoader

Definition at line 43 of file ftgloadr.h.

◆ FT_GlyphLoaderRec

◆ FT_GlyphLoadRec

◆ FT_SubGlyphRec

Function Documentation

◆ FT_GlyphLoader_Add()

FT_GlyphLoader_Add ( FT_GlyphLoader  loader)

◆ FT_GlyphLoader_CheckPoints()

FT_GlyphLoader_CheckPoints ( FT_GlyphLoader  loader,
FT_UInt  n_points,
FT_UInt  n_contours 
)

◆ FT_GlyphLoader_CheckSubGlyphs()

FT_GlyphLoader_CheckSubGlyphs ( FT_GlyphLoader  loader,
FT_UInt  n_subs 
)

◆ FT_GlyphLoader_CopyPoints()

FT_GlyphLoader_CopyPoints ( FT_GlyphLoader  target,
FT_GlyphLoader  source 
)

◆ FT_GlyphLoader_CreateExtra()

FT_GlyphLoader_CreateExtra ( FT_GlyphLoader  loader)

Definition at line 166 of file ftgloadr.c.

References error, and FT_NEW_ARRAY.

Referenced by tt_slot_init().

◆ FT_GlyphLoader_Done()

FT_GlyphLoader_Done ( FT_GlyphLoader  loader)

Definition at line 128 of file ftgloadr.c.

References FT_FREE, and FT_GlyphLoader_Reset().

Referenced by af_loader_done().

◆ FT_GlyphLoader_New()

FT_GlyphLoader_New ( FT_Memory  memory,
FT_GlyphLoader aloader 
)

Definition at line 70 of file ftgloadr.c.

References error, FT_BASE_DEF, FT_NEW, and NULL.

Referenced by af_loader_init().

◆ FT_GlyphLoader_Prepare()

FT_GlyphLoader_Prepare ( FT_GlyphLoader  loader)

◆ FT_GlyphLoader_Reset()

FT_GlyphLoader_Reset ( FT_GlyphLoader  loader)

Definition at line 105 of file ftgloadr.c.

References FT_BASE_DEF, FT_FREE, FT_GlyphLoader_Rewind(), and NULL.

Referenced by FT_GlyphLoader_Done().

◆ FT_GlyphLoader_Rewind()

FT_GlyphLoader_Rewind ( FT_GlyphLoader  loader)