Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ft2build.h>
#include "ftcglyph.h"
#include "ftcimage.h"
#include "ftcsbits.h"
#include "ftccback.h"
#include "ftcerror.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_cache |
#define | FTC_BASIC_ATTR_COMPARE(a, b) |
#define | FTC_BASIC_ATTR_HASH(a) ( FTC_SCALER_HASH( &(a)->scaler ) + 31*(a)->load_flags ) |
Typedefs | |
typedef struct FTC_BasicAttrRec_ | FTC_BasicAttrRec |
typedef struct FTC_BasicAttrRec_ * | FTC_BasicAttrs |
typedef struct FTC_BasicQueryRec_ | FTC_BasicQueryRec |
typedef struct FTC_BasicQueryRec_ * | FTC_BasicQuery |
typedef struct FTC_BasicFamilyRec_ | FTC_BasicFamilyRec |
typedef struct FTC_BasicFamilyRec_ * | FTC_BasicFamily |
#define FT_COMPONENT trace_cache |
Definition at line 30 of file ftcbasic.c.
#define FTC_BASIC_ATTR_HASH | ( | a | ) | ( FTC_SCALER_HASH( &(a)->scaler ) + 31*(a)->load_flags ) |
Definition at line 86 of file ftcbasic.c.
Referenced by FTC_ImageCache_Lookup(), FTC_ImageCache_LookupScaler(), FTC_SBitCache_Lookup(), and FTC_SBitCache_LookupScaler().
typedef struct FTC_BasicAttrRec_ FTC_BasicAttrRec |
typedef struct FTC_BasicAttrRec_ * FTC_BasicAttrs |
typedef struct FTC_BasicFamilyRec_ * FTC_BasicFamily |
typedef struct FTC_BasicFamilyRec_ FTC_BasicFamilyRec |
typedef struct FTC_BasicQueryRec_ * FTC_BasicQuery |
typedef struct FTC_BasicQueryRec_ FTC_BasicQueryRec |
ftc_basic_family_compare | ( | FTC_MruNode | ftcfamily, |
FT_Pointer | ftcquery | ||
) |
Definition at line 107 of file ftcbasic.c.
References FT_CALLBACK_DEF, and FTC_BASIC_ATTR_COMPARE.
Referenced by FTC_ImageCache_Lookup(), FTC_ImageCache_LookupScaler(), FTC_SBitCache_Lookup(), and FTC_SBitCache_LookupScaler().
ftc_basic_family_get_count | ( | FTC_Family | ftcfamily, |
FTC_Manager | manager | ||
) |
Definition at line 135 of file ftcbasic.c.
References error, FT_CALLBACK_DEF, FT_TRACE1, FT_UINT_MAX, FTC_Manager_LookupFace(), and FT_FaceRec_::num_glyphs.
ftc_basic_family_init | ( | FTC_MruNode | ftcfamily, |
FT_Pointer | ftcquery, | ||
FT_Pointer | ftccache | ||
) |
Definition at line 119 of file ftcbasic.c.
References FT_CALLBACK_DEF, FTC_FAMILY, and FTC_Family_Init().
ftc_basic_family_load_bitmap | ( | FTC_Family | ftcfamily, |
FT_UInt | gindex, | ||
FTC_Manager | manager, | ||
FT_Face * | aface | ||
) |
Definition at line 164 of file ftcbasic.c.
References error, FT_SizeRec_::face, FT_CALLBACK_DEF, FT_Load_Glyph(), FT_LOAD_RENDER, and FTC_Manager_LookupSize().
ftc_basic_family_load_glyph | ( | FTC_Family | ftcfamily, |
FT_UInt | gindex, | ||
FTC_Cache | cache, | ||
FT_Glyph * | aglyph | ||
) |
Definition at line 191 of file ftcbasic.c.
References error, FT_SizeRec_::face, FT_GlyphSlotRec_::format, FT_Bool, FT_CALLBACK_DEF, FT_Get_Glyph(), FT_GLYPH_FORMAT_OUTLINE, FT_Load_Glyph(), FT_THROW(), FTC_Manager_LookupSize(), FT_FaceRec_::glyph, and FTC_CacheRec_::manager.
ftc_basic_gnode_compare_faceid | ( | FTC_Node | ftcgnode, |
FT_Pointer | ftcface_id, | ||
FTC_Cache | cache, | ||
FT_Bool * | list_changed | ||
) |
Definition at line 239 of file ftcbasic.c.
References FALSE, FTC_GNodeRec_::family, FT_Bool, FT_BOOL, FT_CALLBACK_TABLE_DEF, FTC_FaceID, FTC_GNode_UnselectFamily(), and if().
FTC_ImageCache_Lookup | ( | FTC_ImageCache | cache, |
FTC_ImageType | type, | ||
FT_UInt | gindex, | ||
FT_Glyph * | aglyph, | ||
FTC_Node * | anode | ||
) |
Definition at line 316 of file ftcbasic.c.
References error, FT_EXPORT_DEF, FT_INT_MIN, FT_THROW(), FT_TRACE1, FT_UINT_MAX, FTC_BASIC_ATTR_HASH, ftc_basic_family_compare(), FTC_GCACHE, FTC_GCACHE_LOOKUP_CMP, FTC_GNode_Compare(), FTC_GQUERY, FTC_INODE, NULL, and FTC_NodeRec_::ref_count.
Referenced by 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 | ||
) |
Definition at line 411 of file ftcbasic.c.
References error, FTC_ImageTypeRec_::face_id, FTC_ImageTypeRec_::flags, FT_CALLBACK_TABLE_DEF, FT_EXPORT, FT_EXPORT_DEF, FT_LOAD_DEFAULT, FT_LOAD_FORCE_AUTOHINT, FT_LOAD_MONOCHROME, FT_LOAD_NO_BITMAP, FT_LOAD_NO_HINTING, FT_LOAD_NO_SCALE, FT_LOAD_RENDER, FT_THROW(), FT_TRACE1, FT_UINT_MAX, FTC_BASIC_ATTR_HASH, ftc_basic_family_compare(), FTC_GCACHE_LOOKUP_CMP, FTC_GNode_Compare(), FTC_ImageCache_Lookup(), FTC_ImageCache_New(), FTC_INODE, FTC_ImageTypeRec_::height, NULL, FTC_NodeRec_::ref_count, and FTC_ImageTypeRec_::width.
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_SBitCache_Lookup | ( | FTC_SBitCache | cache, |
FTC_ImageType | type, | ||
FT_UInt | gindex, | ||
FTC_SBit * | ansbit, | ||
FTC_Node * | anode | ||
) |
Definition at line 654 of file ftcbasic.c.
References error, FT_EXPORT_DEF, FT_INT_MIN, FT_THROW(), FT_TRACE1, FT_UINT_MAX, FTC_BASIC_ATTR_HASH, ftc_basic_family_compare(), FTC_GCACHE, FTC_GCACHE_LOOKUP_CMP, FTC_GNODE, FTC_GQUERY, FTC_SBIT_ITEMS_PER_NODE, FTC_SNODE, FTC_SNode_Compare(), NULL, and FTC_NodeRec_::ref_count.
Referenced by FTC_SBitCache_LookupScaler().
FTC_SBitCache_LookupScaler | ( | FTC_SBitCache | cache, |
FTC_Scaler | scaler, | ||
FT_ULong | load_flags, | ||
FT_UInt | gindex, | ||
FTC_SBit * | ansbit, | ||
FTC_Node * | anode | ||
) |
Definition at line 750 of file ftcbasic.c.
References error, FT_EXPORT, FT_EXPORT_DEF, FT_THROW(), FT_TRACE1, FT_UINT_MAX, FTC_BASIC_ATTR_HASH, ftc_basic_family_compare(), FTC_GCACHE_LOOKUP_CMP, FTC_GNODE, FTC_SBIT_ITEMS_PER_NODE, FTC_SBitCache_Lookup(), FTC_SBitCache_New(), FTC_SNODE, FTC_SNode_Compare(), NULL, and FTC_NodeRec_::ref_count.
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().
FT_CALLBACK_TABLE_DEF const FTC_GCacheClassRec ftc_basic_image_cache_class |
Definition at line 285 of file ftcbasic.c.
FT_CALLBACK_TABLE_DEF const FTC_IFamilyClassRec ftc_basic_image_family_class |
Definition at line 271 of file ftcbasic.c.
FT_CALLBACK_TABLE_DEF const FTC_GCacheClassRec ftc_basic_sbit_cache_class |
Definition at line 623 of file ftcbasic.c.
FT_CALLBACK_TABLE_DEF const FTC_SFamilyClassRec ftc_basic_sbit_family_class |
Definition at line 608 of file ftcbasic.c.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.