Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <ft2build.h>
Go to the source code of this file.
Functions | |
ft_mem_alloc (FT_Memory memory, FT_Long size, FT_Error *p_error) | |
ft_mem_qalloc (FT_Memory memory, FT_Long size, FT_Error *p_error) | |
ft_mem_realloc (FT_Memory memory, FT_Long item_size, FT_Long cur_count, FT_Long new_count, void *block, FT_Error *p_error) | |
ft_mem_qrealloc (FT_Memory memory, FT_Long item_size, FT_Long cur_count, FT_Long new_count, void *block, FT_Error *p_error) | |
ft_mem_free (FT_Memory memory, const void *P) | |
ft_mem_strdup (FT_Memory memory, const char *str, FT_Error *p_error) | |
ft_mem_dup (FT_Memory memory, const void *address, FT_ULong size, FT_Error *p_error) | |
ft_mem_strcpyn (char *dst, const char *src, FT_ULong size) | |
#define FT_ALLOC | ( | ptr, | |
size | |||
) | FT_MEM_SET_ERROR( FT_MEM_ALLOC( ptr, size ) ) |
Definition at line 260 of file ftmemory.h.
Referenced by af_face_globals_get_metrics(), af_face_globals_new(), cff_index_get_name(), cid_load_glyph(), FT_Add_Module(), FT_CMap_New(), FT_DEFINE_GLYPH(), ft_glyphslot_alloc_bitmap(), ft_highpow2(), FT_New_GlyphSlot(), FT_New_Library(), FT_New_Memory_Face(), FT_New_Size(), FTC_Manager_RegisterCache(), FTC_MruList_New(), pfr_extra_item_load_font_id(), ps_table_done(), T1_Get_MM_Var(), and t42_parser_init().
#define FT_ALLOC_MULT | ( | ptr, | |
count, | |||
item_size | |||
) | FT_MEM_SET_ERROR( FT_MEM_ALLOC_MULT( ptr, count, item_size ) ) |
Definition at line 266 of file ftmemory.h.
#define FT_ARRAY_CHECK | ( | ptr, | |
count | |||
) | ( (count) <= FT_ARRAY_MAX( ptr ) ) |
Definition at line 230 of file ftmemory.h.
#define FT_ARRAY_COPY | ( | dest, | |
source, | |||
count | |||
) | FT_MEM_COPY( dest, source, (count) * sizeof ( *(dest) ) ) |
Definition at line 216 of file ftmemory.h.
Referenced by FT_Bitmap_Convert(), FT_GlyphLoader_CopyPoints(), and FT_Outline_Copy().
#define FT_ARRAY_MAX | ( | ptr | ) | ( FT_INT_MAX / sizeof ( *(ptr) ) ) |
Definition at line 228 of file ftmemory.h.
#define FT_ARRAY_MOVE | ( | dest, | |
source, | |||
count | |||
) | FT_MEM_MOVE( dest, source, (count) * sizeof ( *(dest) ) ) |
Definition at line 219 of file ftmemory.h.
Referenced by FT_GlyphLoader_CheckPoints().
#define FT_ARRAY_ZERO | ( | dest, | |
count | |||
) | FT_MEM_ZERO( dest, (count) * sizeof ( *(dest) ) ) |
Definition at line 213 of file ftmemory.h.
#define FT_ASSIGNP_INNER | ( | p, | |
exp | |||
) | FT_ASSIGNP( p, exp ) |
Definition at line 102 of file ftmemory.h.
#define FT_DEBUG_INNER | ( | exp | ) | (exp) |
Definition at line 101 of file ftmemory.h.
#define FT_DUP | ( | dst, | |
address, | |||
size | |||
) | FT_MEM_SET_ERROR( FT_MEM_DUP( dst, address, size ) ) |
Definition at line 357 of file ftmemory.h.
#define FT_FREE | ( | ptr | ) | FT_MEM_FREE( ptr ) |
Definition at line 286 of file ftmemory.h.
Referenced by af_face_globals_free(), af_face_globals_get_metrics(), af_glyph_hints_done(), afm_parser_done(), BDF_Face_Done(), bdf_free_font(), cf2_arrstack_finalize(), cf2_stack_free(), cff_cmap_unicode_done(), cff_face_done(), cid_face_done(), cid_load_glyph(), FT_Bitmap_Done(), FT_ClassicKern_Free(), FT_Done_Face(), FT_Done_Glyph(), FT_Done_Size(), FT_GlyphLoader_Done(), FT_GlyphLoader_Reset(), ft_glyphslot_alloc_bitmap(), ft_glyphslot_free_bitmap(), FT_List_Finalize(), ft_lzwstate_done(), FT_New_Library(), FT_New_Memory_Face(), FT_New_Size(), FT_OpenType_Free(), FT_Outline_Done_Internal(), FT_Stream_EnterFrame(), FT_Stream_ExitFrame(), FT_Stream_Free(), FT_Stream_New(), FT_Stream_ReleaseFrame(), FT_TrueTypeGX_Free(), ftc_cmap_node_free(), ftc_inode_free(), FTC_Manager_Done(), FTC_Manager_RegisterCache(), FTC_MruList_New(), FTC_MruList_Remove(), ftc_snode_free(), main(), PCF_Face_Done(), pfr_extra_item_load_kerning_pairs(), pfr_face_done(), pfr_glyph_done(), pfr_phy_font_done(), ps_table_new(), ps_table_release(), sfnt_done_face(), t1_cmap_unicode_done(), T1_Done_Blend(), T1_Done_Metrics(), T1_Face_Done(), T1_Finalize_Parser(), T42_Face_Done(), t42_parser_done(), t42_parser_init(), tt_cmap_init(), tt_face_done(), tt_face_free_hdmx(), tt_face_free_name(), and tt_face_free_ps_names().
#define FT_MEM_ALLOC | ( | ptr, | |
size | |||
) | FT_ASSIGNP_INNER( ptr, ft_mem_alloc( memory, (size), &error ) ) |
Definition at line 144 of file ftmemory.h.
Definition at line 177 of file ftmemory.h.
Definition at line 203 of file ftmemory.h.
Referenced by cff_index_get_name(), FT_Bitmap_Copy(), FT_Stream_ReadAt(), FT_Stream_ReadFields(), FT_Stream_TryRead(), pfr_extra_item_load_font_id(), ps_table_done(), and TT_Load_Simple_Glyph().
#define FT_MEM_DUP | ( | dst, | |
address, | |||
size | |||
) | (dst) = ft_mem_dup( memory, (address), (FT_ULong)(size), &error ) |
Definition at line 354 of file ftmemory.h.
#define FT_MEM_FREE | ( | ptr | ) |
Definition at line 147 of file ftmemory.h.
Referenced by ft_highpow2().
#define FT_MEM_MOVE | ( | dest, | |
source, | |||
count | |||
) | ft_memmove( dest, source, count ) |
Definition at line 205 of file ftmemory.h.
Referenced by cid_parser_new().
#define FT_MEM_NEW | ( | ptr | ) | FT_MEM_ALLOC( ptr, sizeof ( *(ptr) ) ) |
Definition at line 153 of file ftmemory.h.
Definition at line 239 of file ftmemory.h.
#define FT_MEM_QALLOC | ( | ptr, | |
size | |||
) | FT_ASSIGNP_INNER( ptr, ft_mem_qalloc( memory, (size), &error ) ) |
Definition at line 161 of file ftmemory.h.
Definition at line 187 of file ftmemory.h.
#define FT_MEM_QNEW | ( | ptr | ) | FT_MEM_QALLOC( ptr, sizeof ( *(ptr) ) ) |
Definition at line 164 of file ftmemory.h.
Definition at line 249 of file ftmemory.h.
#define FT_MEM_QREALLOC | ( | ptr, | |
cursz, | |||
newsz | |||
) |
Definition at line 167 of file ftmemory.h.
#define FT_MEM_QREALLOC_MULT | ( | ptr, | |
oldcnt, | |||
newcnt, | |||
itmsz | |||
) |
Definition at line 192 of file ftmemory.h.
#define FT_MEM_QRENEW_ARRAY | ( | ptr, | |
cursz, | |||
newsz | |||
) |
Definition at line 254 of file ftmemory.h.
#define FT_MEM_QRENEW_ARRAY | ( | ptr, | |
cursz, | |||
newsz | |||
) |
Definition at line 254 of file ftmemory.h.
#define FT_MEM_REALLOC | ( | ptr, | |
cursz, | |||
newsz | |||
) |
Definition at line 156 of file ftmemory.h.
#define FT_MEM_REALLOC_MULT | ( | ptr, | |
oldcnt, | |||
newcnt, | |||
itmsz | |||
) |
Definition at line 182 of file ftmemory.h.
#define FT_MEM_RENEW_ARRAY | ( | ptr, | |
cursz, | |||
newsz | |||
) |
Definition at line 244 of file ftmemory.h.
Definition at line 201 of file ftmemory.h.
#define FT_MEM_SET_ERROR | ( | cond | ) | ( (cond), error != 0 ) |
Definition at line 198 of file ftmemory.h.
#define FT_MEM_STRDUP | ( | dst, | |
str | |||
) | (dst) = (char*)ft_mem_strdup( memory, (const char*)(str), &error ) |
Definition at line 348 of file ftmemory.h.
#define FT_MEM_ZERO | ( | dest, | |
count | |||
) | FT_MEM_SET( dest, 0, count ) |
Definition at line 208 of file ftmemory.h.
Referenced by cff_decoder_init(), cff_parser_init(), cid_parser_new(), FT_Glyph_To_Bitmap(), ft_mem_alloc(), ft_mem_realloc(), ps_hints_init(), t1_decoder_init(), t1_hints_funcs_init(), t2_hints_funcs_init(), and t42_loader_init().
#define FT_NEW | ( | ptr | ) | FT_MEM_SET_ERROR( FT_MEM_NEW( ptr ) ) |
Definition at line 288 of file ftmemory.h.
Referenced by afm_parser_init(), bdf_load_font(), cff_face_init(), FT_GlyphLoader_New(), FT_New_Library(), FT_New_Memory_Face(), FT_New_Size(), FT_Stream_New(), FT_Stroker_New(), ftc_cmap_node_new(), FTC_INode_New(), FTC_Manager_New(), FTC_SNode_New(), pfr_extra_item_load_kerning_pairs(), and T1_Read_Metrics().
#define FT_NEW_ARRAY | ( | ptr, | |
count | |||
) | FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, count ) ) |
Definition at line 290 of file ftmemory.h.
Referenced by FT_GlyphLoader_CreateExtra(), FT_Raccess_Get_DataOffsets(), ftc_cache_init(), parse_fd_array(), pfr_extra_item_load_stem_snaps(), pfr_face_init(), ps_table_new(), tt_face_done(), tt_face_load_cvt(), tt_face_load_hdmx(), and tt_face_load_name().
#define FT_QALLOC | ( | ptr, | |
size | |||
) | FT_MEM_SET_ERROR( FT_MEM_QALLOC( ptr, size ) ) |
Definition at line 273 of file ftmemory.h.
Referenced by FT_Bitmap_Copy(), ft_highpow2(), and FT_Stream_EnterFrame().
#define FT_QALLOC_MULT | ( | ptr, | |
count, | |||
item_size | |||
) | FT_MEM_SET_ERROR( FT_MEM_QALLOC_MULT( ptr, count, item_size ) ) |
Definition at line 279 of file ftmemory.h.
#define FT_QNEW | ( | ptr | ) | FT_MEM_SET_ERROR( FT_MEM_QNEW( ptr ) ) |
Definition at line 296 of file ftmemory.h.
Referenced by cf2_stack_init().
#define FT_QNEW_ARRAY | ( | ptr, | |
count | |||
) | FT_MEM_SET_ERROR( FT_MEM_NEW_ARRAY( ptr, count ) ) |
Definition at line 299 of file ftmemory.h.
Referenced by tt_face_load_gasp(), and tt_face_load_hmtx().
#define FT_QREALLOC | ( | ptr, | |
cursz, | |||
newsz | |||
) | FT_MEM_SET_ERROR( FT_MEM_QREALLOC( ptr, cursz, newsz ) ) |
Definition at line 276 of file ftmemory.h.
Referenced by FT_Bitmap_Convert(), FT_Bitmap_Copy(), and ft_highpow2().
#define FT_QREALLOC_MULT | ( | ptr, | |
oldcnt, | |||
newcnt, | |||
itmsz | |||
) |
Definition at line 282 of file ftmemory.h.
#define FT_QRENEW_ARRAY | ( | ptr, | |
curcnt, | |||
newcnt | |||
) | FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) ) |
Definition at line 302 of file ftmemory.h.
Referenced by tt_cmap_init().
#define FT_REALLOC | ( | ptr, | |
cursz, | |||
newsz | |||
) | FT_MEM_SET_ERROR( FT_MEM_REALLOC( ptr, cursz, newsz ) ) |
Definition at line 263 of file ftmemory.h.
Referenced by ft_highpow2().
#define FT_REALLOC_MULT | ( | ptr, | |
oldcnt, | |||
newcnt, | |||
itmsz | |||
) |
Definition at line 269 of file ftmemory.h.
#define FT_RENEW_ARRAY | ( | ptr, | |
curcnt, | |||
newcnt | |||
) | FT_MEM_SET_ERROR( FT_MEM_RENEW_ARRAY( ptr, curcnt, newcnt ) ) |
Definition at line 293 of file ftmemory.h.
Referenced by af_axis_hints_new_edge(), af_axis_hints_new_segment(), af_glyph_hints_reload(), FT_CMap_Done(), FT_CMap_New(), FT_GlyphLoader_CheckPoints(), FT_GlyphLoader_CheckSubGlyphs(), and pfr_extra_item_load_bitmap_info().
#define FT_SET_ERROR | ( | expression | ) | ( ( error = (expression) ) != 0 ) |
Definition at line 42 of file ftmemory.h.
Referenced by cff_font_load().
#define FT_STRCPYN | ( | dst, | |
src, | |||
size | |||
) | ft_mem_strcpyn( (char*)dst, (const char*)(src), (FT_ULong)(size) ) |
Definition at line 369 of file ftmemory.h.
#define FT_STRDUP | ( | dst, | |
str | |||
) | FT_MEM_SET_ERROR( FT_MEM_STRDUP( dst, str ) ) |
Definition at line 351 of file ftmemory.h.
Referenced by BDF_Face_Init().
#define FT_ZERO | ( | p | ) | FT_MEM_ZERO( p, sizeof ( *(p) ) ) |
Definition at line 210 of file ftmemory.h.
Referenced by af_axis_hints_new_edge(), af_glyph_hints_init(), af_latin2_hints_compute_edges(), af_latin2_hints_compute_segments(), af_latin2_metrics_init_widths(), af_latin_hints_compute_edges(), af_latin_hints_compute_segments(), af_latin_metrics_init_widths(), af_loader_init(), af_loader_load_glyph(), cf2_blues_init(), cf2_getSeacComponent(), cf2_glyphpath_init(), cf2_hintmap_init(), cf2_hintmask_init(), cf2_initGlobalRegionBuffer(), cf2_initLocalRegionBuffer(), cff_font_load(), ft_lzwstate_done(), ft_lzwstate_init(), main(), and pfr_glyph_init().
Definition at line 50 of file ftutil.c.
References error, FT_BASE_DEF, ft_mem_qalloc(), and FT_MEM_ZERO.
Referenced by ft_mem_qrealloc().
Definition at line 177 of file ftutil.c.
References error, FT_BASE_DEF, ft_mem_qalloc(), and ft_memcpy.
Referenced by ft_mem_strdup().
Definition at line 168 of file ftutil.c.
References FT_BASE_DEF.
Referenced by ft_mem_qrealloc(), FT_Stream_ExitFrame(), and FT_Stream_ReleaseFrame().
Definition at line 66 of file ftutil.c.
References error, FT_BASE_DEF, FT_Err_Ok, FT_THROW(), and NULL.
Referenced by ft_mem_alloc(), ft_mem_dup(), and FT_Stream_EnterFrame().
ft_mem_qrealloc | ( | FT_Memory | memory, |
FT_Long | item_size, | ||
FT_Long | cur_count, | ||
FT_Long | new_count, | ||
void * | block, | ||
FT_Error * | p_error | ||
) |
Definition at line 114 of file ftutil.c.
References error, FT_ASSERT, FT_BASE_DEF, FT_Err_Ok, FT_INT_MAX, ft_mem_alloc(), ft_mem_free(), FT_THROW(), and NULL.
Referenced by ft_mem_realloc().
ft_mem_realloc | ( | FT_Memory | memory, |
FT_Long | item_size, | ||
FT_Long | cur_count, | ||
FT_Long | new_count, | ||
void * | block, | ||
FT_Error * | p_error | ||
) |
Definition at line 92 of file ftutil.c.
References error, FT_BASE_DEF, FT_Err_Ok, ft_mem_qrealloc(), and FT_MEM_ZERO.
Definition at line 195 of file ftutil.c.
References FT_BASE_DEF, ft_mem_dup(), and ft_strlen.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:54.
© Copyright Michele Bosi. All rights reserved.