Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_cache |
#define | FTC_LRU_GET_MANAGER(lru) ( (FTC_Manager)(lru)->user_data ) |
#define | FTC_SIZE_NODE(x) ( (FTC_SizeNode)( x ) ) |
#define | FTC_FACE_NODE(x) ( ( FTC_FaceNode )( x ) ) |
Typedefs | |
typedef struct FTC_SizeNodeRec_ | FTC_SizeNodeRec |
typedef struct FTC_SizeNodeRec_ * | FTC_SizeNode |
typedef struct FTC_FaceNodeRec_ | FTC_FaceNodeRec |
typedef struct FTC_FaceNodeRec_ * | FTC_FaceNode |
Variables | |
FT_CALLBACK_TABLE_DEF const FTC_MruListClassRec | ftc_size_list_class |
FT_CALLBACK_TABLE_DEF const FTC_MruListClassRec | ftc_face_list_class |
#define FT_COMPONENT trace_cache |
Definition at line 35 of file ftcmanag.c.
#define FTC_FACE_NODE | ( | x | ) | ( ( FTC_FaceNode )( x ) ) |
Definition at line 229 of file ftcmanag.c.
Referenced by FTC_Manager_LookupFace().
#define FTC_LRU_GET_MANAGER | ( | lru | ) | ( (FTC_Manager)(lru)->user_data ) |
Definition at line 37 of file ftcmanag.c.
#define FTC_SIZE_NODE | ( | x | ) | ( (FTC_SizeNode)( x ) ) |
Definition at line 85 of file ftcmanag.c.
Referenced by FTC_Manager_LookupSize().
typedef struct FTC_FaceNodeRec_ * FTC_FaceNode |
typedef struct FTC_FaceNodeRec_ FTC_FaceNodeRec |
typedef struct FTC_SizeNodeRec_ * FTC_SizeNode |
typedef struct FTC_SizeNodeRec_ FTC_SizeNodeRec |
ftc_face_node_compare | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcface_id | ||
) |
Definition at line 282 of file ftcmanag.c.
References FT_BOOL, FT_CALLBACK_TABLE_DEF, and FTC_FaceID.
Referenced by FTC_Manager_LookupFace(), and FTC_Manager_RemoveFaceID().
ftc_face_node_done | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcmanager | ||
) |
Definition at line 261 of file ftcmanag.c.
References FTC_MruList_RemoveSelection(), and FTC_ManagerRec_::sizes.
ftc_face_node_init | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcface_id, | ||
FT_Pointer | ftcmanager | ||
) |
Definition at line 233 of file ftcmanag.c.
References error, FT_CALLBACK_DEF, FT_Done_Size(), FTC_FaceID, FTC_ManagerRec_::library, FTC_ManagerRec_::request_data, and FTC_ManagerRec_::request_face.
FTC_Manager_Compress | ( | FTC_Manager | manager | ) |
Definition at line 532 of file ftcmanag.c.
References FTC_ManagerRec_::cur_weight, FT_LOCAL_DEF, FT_TRACE0(), FTC_NODE__PREV, ftc_node_destroy(), FTC_ManagerRec_::max_weight, FTC_ManagerRec_::nodes_list, NULL, FTC_ManagerRec_::num_nodes, and FTC_NodeRec_::ref_count.
FTC_Manager_Done | ( | FTC_Manager | manager | ) |
Definition at line 412 of file ftcmanag.c.
References FTC_CacheClassRec_::cache_done, FTC_ManagerRec_::caches, FTC_CacheRec_::clazz, FTC_ManagerRec_::faces, FT_EXPORT_DEF, FT_FREE, FTC_MruList_Done(), idx, FTC_ManagerRec_::library, FTC_ManagerRec_::memory, NULL, FTC_ManagerRec_::num_caches, and FTC_ManagerRec_::sizes.
FTC_Manager_FlushN | ( | FTC_Manager | manager, |
FT_UInt | count | ||
) |
Definition at line 626 of file ftcmanag.c.
References FT_EXPORT_DEF, FTC_NODE__PREV, ftc_node_destroy(), FTC_ManagerRec_::nodes_list, NULL, and FTC_NodeRec_::ref_count.
FTC_Manager_LookupFace | ( | FTC_Manager | manager, |
FTC_FaceID | face_id, | ||
FT_Face * | aface | ||
) |
Definition at line 308 of file ftcmanag.c.
References error, FTC_ManagerRec_::faces, FT_EXPORT_DEF, FT_THROW(), FTC_FACE_NODE, ftc_face_node_compare(), FTC_MRULIST_LOOKUP_CMP, and NULL.
Referenced by ftc_basic_family_get_count(), FTC_CMapCache_Lookup(), and FTC_Node_Unref().
FTC_Manager_LookupSize | ( | FTC_Manager | manager, |
FTC_Scaler | scaler, | ||
FT_Size * | asize | ||
) |
Definition at line 181 of file ftcmanag.c.
References error, FT_THROW(), FTC_FaceID, FTC_MRULIST_LOOKUP_CMP, FTC_SIZE_NODE, ftc_size_node_compare(), NULL, and FTC_ManagerRec_::sizes.
Referenced by ftc_basic_family_load_bitmap(), ftc_basic_family_load_glyph(), and FTC_Node_Unref().
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 | ||
) |
Definition at line 353 of file ftcmanag.c.
References error, FTC_ManagerRec_::faces, FT_EXPORT_DEF, FT_NEW, FT_THROW(), FTC_MAX_BYTES_DEFAULT, FTC_MAX_FACES_DEFAULT, FTC_MAX_SIZES_DEFAULT, FTC_MruList_Init(), FTC_ManagerRec_::library, library, FTC_ManagerRec_::max_weight, FTC_ManagerRec_::memory, FT_LibraryRec_::memory, FTC_ManagerRec_::request_data, FTC_ManagerRec_::request_face, and FTC_ManagerRec_::sizes.
FTC_Manager_RegisterCache | ( | FTC_Manager | manager, |
FTC_CacheClass | clazz, | ||
FTC_Cache * | acache | ||
) |
Definition at line 574 of file ftcmanag.c.
References FTC_ManagerRec_::caches, FTC_CacheRec_::clazz, error, FT_ALLOC, FT_ERR, FT_ERROR, FT_FREE, FT_LOCAL_DEF, FT_THROW(), FTC_MAX_CACHES, FTC_CacheRec_::index, FTC_CacheRec_::manager, FTC_ManagerRec_::memory, FTC_CacheRec_::memory, NULL, FTC_ManagerRec_::num_caches, and FTC_CacheRec_::org_class.
Referenced by FTC_CMapCache_New(), and FTC_GCache_New().
FTC_Manager_RemoveFaceID | ( | FTC_Manager | manager, |
FTC_FaceID | face_id | ||
) |
Definition at line 664 of file ftcmanag.c.
References FTC_ManagerRec_::caches, FTC_ManagerRec_::faces, FT_EXPORT_DEF, FTC_Cache_RemoveFaceID(), ftc_face_node_compare(), FTC_MruList_RemoveSelection(), and FTC_ManagerRec_::num_caches.
FTC_Manager_Reset | ( | FTC_Manager | manager | ) |
Definition at line 452 of file ftcmanag.c.
References FTC_NodeRec_::cache_index, FTC_ManagerRec_::caches, FTC_CacheRec_::clazz, FTC_ManagerRec_::cur_weight, FTC_ManagerRec_::faces, FT_LOCAL_DEF, FT_TRACE0(), FTC_MruList_Reset(), FTC_NODE__NEXT, FTC_CacheClassRec_::node_weight, FTC_ManagerRec_::nodes_list, FTC_ManagerRec_::num_caches, FTC_ManagerRec_::num_nodes, and FTC_ManagerRec_::sizes.
FTC_Node_Unref | ( | FTC_Node | node, |
FTC_Manager | manager | ||
) |
Definition at line 684 of file ftcmanag.c.
References FTC_NodeRec_::cache_index, error, FT_SizeRec_::face, FTC_ScalerRec_::face_id, FT_EXPORT, FT_EXPORT_DEF, FTC_FaceID, FTC_Manager_LookupFace(), FTC_Manager_LookupSize(), FTC_ScalerRec_::height, NULL, FTC_ManagerRec_::num_caches, FTC_ScalerRec_::pixel, FTC_NodeRec_::ref_count, TRUE, FTC_ScalerRec_::width, FTC_ScalerRec_::x_res, and FTC_ScalerRec_::y_res.
ftc_size_node_compare | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcscaler | ||
) |
Definition at line 103 of file ftcmanag.c.
References FT_Activate_Size(), FT_CALLBACK_DEF, and FTC_SCALER_COMPARE.
Referenced by FTC_Manager_LookupSize().
ftc_size_node_done | ( | FTC_MruNode | ftcnode, |
FT_Pointer | data | ||
) |
Definition at line 89 of file ftcmanag.c.
References FT_Bool, FT_CALLBACK_DEF, FT_Done_Size(), and FT_UNUSED.
ftc_size_node_init | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcscaler, | ||
FT_Pointer | ftcmanager | ||
) |
Definition at line 121 of file ftcmanag.c.
ftc_size_node_reset | ( | FTC_MruNode | ftcnode, |
FT_Pointer | ftcscaler, | ||
FT_Pointer | ftcmanager | ||
) |
Definition at line 137 of file ftcmanag.c.
References FT_Done_Size().
FT_CALLBACK_TABLE_DEF const FTC_MruListClassRec ftc_face_list_class |
Definition at line 294 of file ftcmanag.c.
FT_CALLBACK_TABLE_DEF const FTC_MruListClassRec ftc_size_list_class |
Definition at line 155 of file ftcmanag.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.