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 | Variables
ftcache.h File Reference
#include <ft2build.h>

Go to the source code of this file.

Classes

struct  FTC_ScalerRec_
 
struct  FTC_ImageTypeRec_
 
struct  FTC_SBitRec_
 

Macros

#define FTC_IMAGE_TYPE_COMPARE(d1, d2)
 

Typedefs

typedef FT_Error(* FTC_Face_Requester) (FTC_FaceID face_id, FT_Library library, FT_Pointer request_data, FT_Face *aface)
 
typedef struct FTC_ManagerRec_FTC_Manager
 
typedef struct FTC_NodeRec_FTC_Node
 
typedef struct FTC_ScalerRec_ FTC_ScalerRec
 
typedef struct FTC_ScalerRec_FTC_Scaler
 
typedef struct FTC_CMapCacheRec_ * FTC_CMapCache
 
typedef struct FTC_ImageTypeRec_ FTC_ImageTypeRec
 
typedef struct FTC_ImageTypeRec_FTC_ImageType
 
typedef struct FTC_ImageCacheRec_ * FTC_ImageCache
 
typedef struct FTC_SBitRec_FTC_SBit
 
typedef struct FTC_SBitRec_ FTC_SBitRec
 
typedef struct FTC_SBitCacheRec_ * FTC_SBitCache
 

Functions

 FTC_Manager_New (FT_Library library, FT_UInt max_faces, FT_UInt max_sizes, FT_ULong max_bytes, FTC_Face_Requester requester, FT_Pointer req_data, FTC_Manager *amanager)
 
 FTC_Manager_Reset (FTC_Manager manager)
 
 FTC_Manager_Done (FTC_Manager manager)
 
 FTC_Manager_LookupFace (FTC_Manager manager, FTC_FaceID face_id, FT_Face *aface)
 
 FTC_Manager_LookupSize (FTC_Manager manager, FTC_Scaler scaler, FT_Size *asize)
 
 FTC_Node_Unref (FTC_Node node, FTC_Manager manager)
 
 FTC_Manager_RemoveFaceID (FTC_Manager manager, FTC_FaceID face_id)
 
 FTC_CMapCache_New (FTC_Manager manager, FTC_CMapCache *acache)
 
 FTC_CMapCache_Lookup (FTC_CMapCache cache, FTC_FaceID face_id, FT_Int cmap_index, FT_UInt32 char_code)
 
 FTC_ImageCache_New (FTC_Manager manager, FTC_ImageCache *acache)
 
 FTC_ImageCache_Lookup (FTC_ImageCache cache, FTC_ImageType type, FT_UInt gindex, FT_Glyph *aglyph, FTC_Node *anode)
 
 FTC_ImageCache_LookupScaler (FTC_ImageCache cache, FTC_Scaler scaler, FT_ULong load_flags, FT_UInt gindex, FT_Glyph *aglyph, FTC_Node *anode)
 
 FTC_SBitCache_New (FTC_Manager manager, FTC_SBitCache *acache)
 
 FTC_SBitCache_Lookup (FTC_SBitCache cache, FTC_ImageType type, FT_UInt gindex, FTC_SBit *sbit, FTC_Node *anode)
 
 FTC_SBitCache_LookupScaler (FTC_SBitCache cache, FTC_Scaler scaler, FT_ULong load_flags, FT_UInt gindex, FTC_SBit *sbit, FTC_Node *anode)
 

Variables

FT_BEGIN_HEADER typedef FT_Pointer FTC_FaceID
 

Macro Definition Documentation

◆ FTC_IMAGE_TYPE_COMPARE

#define FTC_IMAGE_TYPE_COMPARE (   d1,
  d2 
)
Value:
( (d1)->face_id == (d2)->face_id && \
(d1)->width == (d2)->width && \
(d1)->flags == (d2)->flags )
GLint GLint GLsizei width
GLbitfield flags

Definition at line 703 of file ftcache.h.

Typedef Documentation

◆ FTC_CMapCache

typedef struct FTC_CMapCacheRec_* FTC_CMapCache

Definition at line 571 of file ftcache.h.

◆ FTC_Face_Requester

typedef FT_Error(* FTC_Face_Requester) (FTC_FaceID face_id, FT_Library library, FT_Pointer request_data, FT_Face *aface)

Definition at line 210 of file ftcache.h.

◆ FTC_ImageCache

typedef struct FTC_ImageCacheRec_* FTC_ImageCache

Definition at line 730 of file ftcache.h.

◆ FTC_ImageType

Definition at line 697 of file ftcache.h.

◆ FTC_ImageTypeRec

◆ FTC_Manager

typedef struct FTC_ManagerRec_* FTC_Manager

Definition at line 261 of file ftcache.h.

◆ FTC_Node

typedef struct FTC_NodeRec_* FTC_Node

Definition at line 281 of file ftcache.h.

◆ FTC_SBit

typedef struct FTC_SBitRec_* FTC_SBit

Definition at line 871 of file ftcache.h.

◆ FTC_SBitCache

typedef struct FTC_SBitCacheRec_* FTC_SBitCache

Definition at line 938 of file ftcache.h.

◆ FTC_SBitRec

typedef struct FTC_SBitRec_ FTC_SBitRec

◆ FTC_Scaler

typedef struct FTC_ScalerRec_* FTC_Scaler

Definition at line 456 of file ftcache.h.

◆ FTC_ScalerRec

typedef struct FTC_ScalerRec_ FTC_ScalerRec

Function Documentation

◆ FTC_CMapCache_Lookup()

FTC_CMapCache_Lookup ( FTC_CMapCache  cache,
FTC_FaceID  face_id,
FT_Int  cmap_index,
FT_UInt32  char_code 
)

◆ FTC_CMapCache_New()

FTC_CMapCache_New ( FTC_Manager  manager,
FTC_CMapCache acache 
)

Definition at line 260 of file ftccmap.c.

References FT_EXPORT_DEF, FTC_CACHE_P, and FTC_Manager_RegisterCache().

◆ FTC_ImageCache_Lookup()

FTC_ImageCache_Lookup ( FTC_ImageCache  cache,
FTC_ImageType  type,
FT_UInt  gindex,
FT_Glyph aglyph,
FTC_Node anode 
)

◆ FTC_ImageCache_LookupScaler()

FTC_ImageCache_LookupScaler ( FTC_ImageCache  cache,
FTC_Scaler  scaler,
FT_ULong  load_flags,
FT_UInt  gindex,
FT_Glyph aglyph,
FTC_Node anode 
)

◆ FTC_ImageCache_New()

FTC_ImageCache_New ( FTC_Manager  manager,
FTC_ImageCache acache 
)

Definition at line 305 of file ftcbasic.c.

References FT_EXPORT_DEF, and FTC_GCache_New().

Referenced by FTC_ImageCache_LookupScaler().

◆ FTC_Manager_Done()

FTC_Manager_Done ( FTC_Manager  manager)

◆ FTC_Manager_LookupFace()

FTC_Manager_LookupFace ( FTC_Manager  manager,
FTC_FaceID  face_id,
FT_Face aface 
)

◆ FTC_Manager_LookupSize()

FTC_Manager_LookupSize ( FTC_Manager  manager,
FTC_Scaler  scaler,
FT_Size asize 
)

◆ FTC_Manager_New()

FTC_Manager_New ( FT_Library  library,
FT_UInt  max_faces,
FT_UInt  max_sizes,
FT_ULong  max_bytes,
FTC_Face_Requester  requester,
FT_Pointer  req_data,
FTC_Manager amanager 
)

◆ FTC_Manager_RemoveFaceID()

FTC_Manager_RemoveFaceID ( FTC_Manager  manager,
FTC_FaceID  face_id 
)

◆ FTC_Manager_Reset()

FTC_Manager_Reset ( FTC_Manager  manager)

◆ FTC_Node_Unref()

FTC_Node_Unref ( FTC_Node  node,
FTC_Manager  manager 
)

◆ FTC_SBitCache_Lookup()

FTC_SBitCache_Lookup ( FTC_SBitCache  cache,
FTC_ImageType  type,
FT_UInt  gindex,
FTC_SBit sbit,
FTC_Node anode 
)

◆ FTC_SBitCache_LookupScaler()

FTC_SBitCache_LookupScaler ( FTC_SBitCache  cache,
FTC_Scaler  scaler,
FT_ULong  load_flags,
FT_UInt  gindex,
FTC_SBit sbit,
FTC_Node anode 
)

◆ FTC_SBitCache_New()

FTC_SBitCache_New ( FTC_Manager  manager,
FTC_SBitCache acache 
)

Definition at line 643 of file ftcbasic.c.

References FT_EXPORT_DEF, and FTC_GCache_New().

Referenced by FTC_SBitCache_LookupScaler().

Variable Documentation

◆ FTC_FaceID

FT_BEGIN_HEADER typedef FT_Pointer FTC_FaceID