sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
ftcglyph.h File Reference
#include "ftcmanag.h"

Go to the source code of this file.

Classes

struct  FTC_FamilyRec_
struct  FTC_GNodeRec_
struct  FTC_GQueryRec_
struct  FTC_GCacheRec_
struct  FTC_GCacheClassRec_

Macros

#define FTC_FAMILY(x)
#define FTC_FAMILY_P(x)
#define FTC_GNODE(x)
#define FTC_GNODE_P(x)
#define FTC_GQUERY(x)
#define FTC_GCACHE(x)
#define FTC_GCACHE_CLASS(x)
#define FTC_CACHE_GCACHE_CLASS(x)
#define FTC_CACHE_FAMILY_CLASS(x)
#define FTC_FAMILY_FREE(family, cache)
#define FTC_GCACHE_LOOKUP_CMP(cache, famcmp, nodecmp, hash, gindex, query, node, error)

Typedefs

typedef FT_BEGIN_HEADER struct FTC_FamilyRec_ FTC_FamilyRec
typedef FT_BEGIN_HEADER struct FTC_FamilyRec_ * FTC_Family
typedef struct FTC_GNodeRec_ FTC_GNodeRec
typedef struct FTC_GNodeRec_ * FTC_GNode
typedef struct FTC_GQueryRec_ FTC_GQueryRec
typedef struct FTC_GQueryRec_ * FTC_GQuery
typedef struct FTC_GCacheRec_ FTC_GCacheRec
typedef struct FTC_GCacheRec_ * FTC_GCache
typedef struct FTC_GCacheClassRec_ FTC_GCacheClassRec
typedef const FTC_GCacheClassRec * FTC_GCacheClass

Functions

 FTC_GNode_Init (FTC_GNode node, FT_UInt gindex, FTC_Family family)
 FTC_GNode_UnselectFamily (FTC_GNode gnode, FTC_Cache cache)
 FTC_GNode_Done (FTC_GNode node, FTC_Cache cache)
 FTC_Family_Init (FTC_Family family, FTC_Cache cache)
 FTC_GCache_New (FTC_Manager manager, FTC_GCacheClass clazz, FTC_GCache *acache)

Macro Definition Documentation

◆ FTC_CACHE_FAMILY_CLASS

#define FTC_CACHE_FAMILY_CLASS ( x)
Value:
( (FTC_MruListClass)FTC_CACHE_GCACHE_CLASS( x )->family_class )

Definition at line 239 of file ftcglyph.h.

◆ FTC_CACHE_GCACHE_CLASS

#define FTC_CACHE_GCACHE_CLASS ( x)
Value:
FTC_GCACHE_CLASS( FTC_CACHE( x )->org_class )

Definition at line 237 of file ftcglyph.h.

◆ FTC_FAMILY

#define FTC_FAMILY ( x)
Value:
( (FTC_Family)(x) )

Definition at line 146 of file ftcglyph.h.

◆ FTC_FAMILY_FREE

#define FTC_FAMILY_FREE ( family,
cache )
Value:
FTC_MruList_Remove( &FTC_GCACHE((cache))->families, \
(FTC_MruNode)(family) )

Definition at line 262 of file ftcglyph.h.

◆ FTC_FAMILY_P

#define FTC_FAMILY_P ( x)
Value:
( (FTC_Family*)(x) )

Definition at line 147 of file ftcglyph.h.

◆ FTC_GCACHE

#define FTC_GCACHE ( x)
Value:
((FTC_GCache)(x))

Definition at line 208 of file ftcglyph.h.

◆ FTC_GCACHE_CLASS

#define FTC_GCACHE_CLASS ( x)
Value:
((FTC_GCacheClass)(x))

Definition at line 235 of file ftcglyph.h.

◆ FTC_GCACHE_LOOKUP_CMP

#define FTC_GCACHE_LOOKUP_CMP ( cache,
famcmp,
nodecmp,
hash,
gindex,
query,
node,
error )
Value:
FT_BEGIN_STMNT \
FTC_GCache _gcache = FTC_GCACHE( cache ); \
FTC_GQuery _gquery = (FTC_GQuery)( query ); \
FTC_MruNode_CompareFunc _fcompare = (FTC_MruNode_CompareFunc)(famcmp); \
FTC_MruNode _mrunode; \
\
\
_gquery->gindex = (gindex); \
\
FTC_MRULIST_LOOKUP_CMP( &_gcache->families, _gquery, _fcompare, \
_mrunode, error ); \
_gquery->family = FTC_FAMILY( _mrunode ); \
if ( !error ) \
{ \
FTC_Family _gqfamily = _gquery->family; \
\
\
_gqfamily->num_nodes++; \
\
FTC_CACHE_LOOKUP_CMP( cache, nodecmp, hash, query, node, error ); \
\
if ( --_gqfamily->num_nodes == 0 ) \
FTC_FAMILY_FREE( _gqfamily, _gcache ); \
} \
FT_END_STMNT

Definition at line 269 of file ftcglyph.h.

◆ FTC_GNODE

#define FTC_GNODE ( x)
Value:
( (FTC_GNode)(x) )

Definition at line 158 of file ftcglyph.h.

◆ FTC_GNODE_P

#define FTC_GNODE_P ( x)
Value:
( (FTC_GNode*)(x) )

Definition at line 159 of file ftcglyph.h.

◆ FTC_GQUERY

#define FTC_GQUERY ( x)
Value:
( (FTC_GQuery)(x) )

Definition at line 169 of file ftcglyph.h.

Typedef Documentation

◆ FTC_GCacheClass

typedef const FTC_GCacheClassRec* FTC_GCacheClass

Definition at line 233 of file ftcglyph.h.

Function Documentation

◆ FTC_Family_Init()

FTC_Family_Init ( FTC_Family family,
FTC_Cache cache )

Definition at line 91 of file ftcglyph.c.

◆ FTC_GCache_New()

FTC_GCache_New ( FTC_Manager manager,
FTC_GCacheClass clazz,
FTC_GCache * acache )

Definition at line 160 of file ftcglyph.c.

◆ FTC_GNode_Done()

FTC_GNode_Done ( FTC_GNode node,
FTC_Cache cache )

Definition at line 54 of file ftcglyph.c.

◆ FTC_GNode_Init()

FTC_GNode_Init ( FTC_GNode node,
FT_UInt gindex,
FTC_Family family )

Definition at line 30 of file ftcglyph.c.

◆ FTC_GNode_UnselectFamily()

FTC_GNode_UnselectFamily ( FTC_GNode gnode,
FTC_Cache cache )

Definition at line 41 of file ftcglyph.c.