Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include "gxvcommn.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_gxvcommon |
#define | GXV_LOOKUP_VALUE_LOAD(P, SIGNSPEC) ( P += 2, gxv_lookup_value_load( P - 2, SIGNSPEC ) ) |
#define | GXV_UNITSIZE_VALIDATE(FORMAT, UNITSIZE, NUNITS, CORRECTSIZE) |
Typedefs | |
typedef struct GXV_BinSrchHeader_ | GXV_BinSrchHeader |
#define FT_COMPONENT trace_gxvcommon |
Definition at line 38 of file gxvcommn.c.
#define GXV_LOOKUP_VALUE_LOAD | ( | P, | |
SIGNSPEC | |||
) | ( P += 2, gxv_lookup_value_load( P - 2, SIGNSPEC ) ) |
Definition at line 383 of file gxvcommn.c.
#define GXV_UNITSIZE_VALIDATE | ( | FORMAT, | |
UNITSIZE, | |||
NUNITS, | |||
CORRECTSIZE | |||
) |
Definition at line 402 of file gxvcommn.c.
typedef struct GXV_BinSrchHeader_ GXV_BinSrchHeader |
gxv_array_getlimits_byte | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
FT_Byte * | min, | ||
FT_Byte * | max, | ||
GXV_Validator | valid | ||
) |
Definition at line 181 of file gxvcommn.c.
References FT_LOCAL_DEF, FT_MAX, FT_MIN, FT_NEXT_BYTE, GXV_LIMIT_CHECK, max, and vl::min().
gxv_array_getlimits_ushort | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
FT_UShort * | min, | ||
FT_UShort * | max, | ||
GXV_Validator | valid | ||
) |
Definition at line 210 of file gxvcommn.c.
References FT_MAX, FT_MIN, FT_NEXT_USHORT, GXV_LIMIT_CHECK, max, and vl::min().
gxv_BinSrchHeader_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
FT_UShort * | unitSize_p, | ||
FT_UShort * | nUnits_p, | ||
GXV_Validator | valid | ||
) |
Definition at line 328 of file gxvcommn.c.
References FT_NEXT_USHORT, GXV_LIMIT_CHECK, GXV_NAME_ENTER, and GXV_TRACE.
gxv_ctlPoint_validate | ( | FT_UShort | gid, |
FT_Short | ctl_point, | ||
GXV_Validator | valid | ||
) |
Definition at line 846 of file gxvcommn.c.
References error, GXV_ValidatorRec_::face, FT_INVALID_DATA, FT_INVALID_GLYPH_ID, FT_Load_Glyph(), FT_LOAD_IGNORE_TRANSFORM, FT_LOAD_NO_BITMAP, FT_LOCAL_DEF, FT_FaceRec_::glyph, FT_Outline_::n_points, and FT_GlyphSlotRec_::outline.
gxv_glyphid_validate | ( | FT_UShort | gid, |
GXV_Validator | valid | ||
) |
Definition at line 813 of file gxvcommn.c.
References GXV_ValidatorRec_::face, FT_INVALID_GLYPH_ID, FT_LOCAL_DEF, GXV_EXIT, GXV_SET_ERR_IF_PARANOID, GXV_TRACE, and FT_FaceRec_::num_glyphs.
gxv_LookupTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | valid | ||
) |
Definition at line 755 of file gxvcommn.c.
gxv_odtect_add_range | ( | FT_Bytes | start, |
FT_ULong | length, | ||
const FT_String * | name, | ||
GXV_odtect_Range | odtect | ||
) |
Definition at line 1702 of file gxvcommn.c.
References FT_LOCAL_DEF.
Referenced by gxv_just_validate().
gxv_odtect_validate | ( | GXV_odtect_Range | odtect, |
GXV_Validator | valid | ||
) |
Definition at line 1715 of file gxvcommn.c.
References GXV_NAME_ENTER, and i.
gxv_set_length_by_ulong_offset | ( | FT_ULong * | offset, |
FT_ULong ** | length, | ||
FT_ULong * | buff, | ||
FT_UInt | nmemb, | ||
FT_ULong | limit, | ||
GXV_Validator | valid | ||
) |
Definition at line 128 of file gxvcommn.c.
Referenced by gxv_XStateTable_subtable_setup().
gxv_set_length_by_ushort_offset | ( | FT_UShort * | offset, |
FT_UShort ** | length, | ||
FT_UShort * | buff, | ||
FT_UInt | nmemb, | ||
FT_UShort | limit, | ||
GXV_Validator | valid | ||
) |
Definition at line 63 of file gxvcommn.c.
Referenced by gxv_StateTable_subtable_setup().
gxv_sfntName_validate | ( | FT_UShort | name_index, |
FT_UShort | min_index, | ||
FT_UShort | max_index, | ||
GXV_Validator | valid | ||
) |
Definition at line 885 of file gxvcommn.c.
References GXV_ValidatorRec_::face, FT_Err_Ok, FT_Get_Sfnt_Name(), FT_Get_Sfnt_Name_Count(), FT_INVALID_DATA, FT_INVALID_FORMAT, FT_TRACE1, GXV_EXIT, GXV_NAME_ENTER, GXV_TRACE, GXV_TRACE_HEXDUMP_SFNTNAME, and i.
gxv_StateTable_subtable_setup | ( | FT_UShort | table_size, |
FT_UShort | classTable, | ||
FT_UShort | stateArray, | ||
FT_UShort | entryTable, | ||
FT_UShort * | classTable_length_p, | ||
FT_UShort * | stateArray_length_p, | ||
FT_UShort * | entryTable_length_p, | ||
GXV_Validator | valid | ||
) |
Definition at line 1188 of file gxvcommn.c.
References FT_LOCAL_DEF, and gxv_set_length_by_ushort_offset().
Referenced by gxv_mort_subtable_type5_subtable_setup(), and gxv_StateTable_validate().
gxv_StateTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | valid | ||
) |
Definition at line 1214 of file gxvcommn.c.
References FT_INVALID_DATA, FT_NEXT_USHORT, GXV_LIMIT_CHECK, GXV_NAME_ENTER, gxv_StateTable_subtable_setup(), GXV_TRACE, NULL, GXV_StateTable_ValidatorRec_::optdata_load_func, GXV_ValidatorRec_::statetable, and GXV_StateTable_ValidatorRec_::subtable_setup_func.
gxv_XStateTable_subtable_setup | ( | FT_ULong | table_size, |
FT_ULong | classTable, | ||
FT_ULong | stateArray, | ||
FT_ULong | entryTable, | ||
FT_ULong * | classTable_length_p, | ||
FT_ULong * | stateArray_length_p, | ||
FT_ULong * | entryTable_length_p, | ||
GXV_Validator | valid | ||
) |
Definition at line 1316 of file gxvcommn.c.
References gxv_set_length_by_ulong_offset().
Referenced by gxv_XStateTable_validate().
gxv_XStateTable_validate | ( | FT_Bytes | table, |
FT_Bytes | limit, | ||
GXV_Validator | valid | ||
) |
Definition at line 1558 of file gxvcommn.c.
References FT_INVALID_DATA, FT_NEXT_ULONG, GXV_LIMIT_CHECK, GXV_LOOKUPVALUE_UNSIGNED, GXV_NAME_ENTER, GXV_TRACE, gxv_XStateTable_subtable_setup(), GXV_ValidatorRec_::lookupval_func, GXV_ValidatorRec_::lookupval_sign, GXV_XStateTable_ValidatorRec_::maxClassID, GXV_XStateTable_ValidatorRec_::nClasses, NULL, GXV_XStateTable_ValidatorRec_::optdata_load_func, GXV_XStateTable_ValidatorRec_::subtable_setup_func, and GXV_ValidatorRec_::xstatetable.
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.