62 #ifndef __FTCMANAG_H__ 63 #define __FTCMANAG_H__ 83 #define FTC_MAX_FACES_DEFAULT 2 84 #define FTC_MAX_SIZES_DEFAULT 4 85 #define FTC_MAX_BYTES_DEFAULT 200000L 88 #define FTC_MAX_CACHES 16 154 #define FTC_SCALER_COMPARE( a, b ) \ 155 ( (a)->face_id == (b)->face_id && \ 156 (a)->width == (b)->width && \ 157 (a)->height == (b)->height && \ 158 ((a)->pixel != 0) == ((b)->pixel != 0) && \ 160 ( (a)->x_res == (b)->x_res && \ 161 (a)->y_res == (b)->y_res ) ) ) 163 #define FTC_SCALER_HASH( q ) \ 164 ( _FTC_FACE_ID_HASH( (q)->face_id ) + \ 165 (q)->width + (q)->height*7 + \ 166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
FTC_Manager_FlushN(FTC_Manager manager, FT_UInt count)
struct FTC_ManagerRec_ FTC_ManagerRec
FT_Error(* FTC_Face_Requester)(FTC_FaceID face_id, FT_Library library, FT_Pointer request_data, FT_Face *aface)
FTC_Face_Requester request_face
FTC_Cache caches[FTC_MAX_CACHES]
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
FTC_Manager_RegisterCache(FTC_Manager manager, FTC_CacheClass clazz, FTC_Cache *acache)
GLuint GLuint GLsizei count
FTC_Manager_Compress(FTC_Manager manager)