ftcsbits.h File Reference

#include <ft2build.h>
#include "ftcglyph.h"

Go to the source code of this file.

Classes

struct  FTC_SNodeRec_
struct  FTC_SFamilyClassRec_

Defines

#define FTC_SBIT_ITEMS_PER_NODE   16
#define FTC_SNODE(x)   ( (FTC_SNode)( x ) )
#define FTC_SNODE_GINDEX(x)   FTC_GNODE( x )->gindex
#define FTC_SNODE_FAMILY(x)   FTC_GNODE( x )->family
#define FTC_SFAMILY_CLASS(x)   ((FTC_SFamilyClass)(x))
#define FTC_CACHE__SFAMILY_CLASS(x)   FTC_SFAMILY_CLASS( FTC_CACHE__GCACHE_CLASS( x )->family_class )

Typedefs

typedef FTC_SNodeRec_ FTC_SNodeRec
typedef FTC_SNodeRec_FTC_SNode
typedef FT_UInt(*) FTC_SFamily_GetCountFunc (FTC_Family family, FTC_Manager manager)
typedef FT_Error(*) FTC_SFamily_LoadGlyphFunc (FTC_Family family, FT_UInt gindex, FTC_Manager manager, FT_Face *aface)
typedef FTC_SFamilyClassRec_ FTC_SFamilyClassRec
typedef const FTC_SFamilyClassRecFTC_SFamilyClass

Functions

 FTC_SNode_Free (FTC_SNode snode, FTC_Cache cache)
 FTC_SNode_New (FTC_SNode *psnode, FTC_GQuery gquery, FTC_Cache cache)
 FTC_SNode_Compare (FTC_SNode snode, FTC_GQuery gquery, FTC_Cache cache)


Define Documentation

#define FTC_CACHE__SFAMILY_CLASS ( x   )     FTC_SFAMILY_CLASS( FTC_CACHE__GCACHE_CLASS( x )->family_class )

Definition at line 67 of file ftcsbits.h.

Referenced by FTC_SNode_New().

#define FTC_SBIT_ITEMS_PER_NODE   16

Definition at line 30 of file ftcsbits.h.

Referenced by FTC_SBitCache_Lookup(), FTC_SBitCache_LookupScaler(), FTC_SNode_New(), and ftc_snode_weight().

#define FTC_SFAMILY_CLASS ( x   )     ((FTC_SFamilyClass)(x))

Definition at line 65 of file ftcsbits.h.

#define FTC_SNODE ( x   )     ( (FTC_SNode)( x ) )

Definition at line 41 of file ftcsbits.h.

Referenced by FTC_SBitCache_Lookup(), and FTC_SBitCache_LookupScaler().

#define FTC_SNODE_FAMILY ( x   )     FTC_GNODE( x )->family

Definition at line 43 of file ftcsbits.h.

#define FTC_SNODE_GINDEX ( x   )     FTC_GNODE( x )->gindex

Definition at line 42 of file ftcsbits.h.


Typedef Documentation

typedef FT_UInt(*) FTC_SFamily_GetCountFunc(FTC_Family family, FTC_Manager manager)

Definition at line 46 of file ftcsbits.h.

typedef FT_Error(*) FTC_SFamily_LoadGlyphFunc(FTC_Family family, FT_UInt gindex, FTC_Manager manager, FT_Face *aface)

Definition at line 50 of file ftcsbits.h.

typedef const FTC_SFamilyClassRec* FTC_SFamilyClass

Definition at line 63 of file ftcsbits.h.

typedef struct FTC_SFamilyClassRec_ FTC_SFamilyClassRec

typedef struct FTC_SNodeRec_ * FTC_SNode

typedef struct FTC_SNodeRec_ FTC_SNodeRec


Function Documentation

FTC_SNode_Compare ( FTC_SNode  snode,
FTC_GQuery  gquery,
FTC_Cache  cache 
)

Definition at line 396 of file ftcsbits.c.

References FTC_NODE, and ftc_snode_compare().

Referenced by FTC_SBitCache_Lookup(), and FTC_SBitCache_LookupScaler().

FTC_SNode_Free ( FTC_SNode  snode,
FTC_Cache  cache 
)

Definition at line 84 of file ftcsbits.c.

References FTC_NODE, and ftc_snode_free().

Referenced by FTC_SNode_New().

FTC_SNode_New ( FTC_SNode psnode,
FTC_GQuery  gquery,
FTC_Cache  cache 
)

Definition at line 204 of file ftcsbits.c.

References FTC_SNodeRec_::count, error, FTC_SFamilyClassRec_::family_get_count, FT_NEW, FTC_CACHE__SFAMILY_CLASS, FTC_GNODE, FTC_GNode_Init(), FTC_SBIT_ITEMS_PER_NODE, FTC_SNode_Free(), ftc_snode_load(), NULL, start, and total.

Referenced by ftc_snode_new().


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