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 "ttgload.h"
#include "ttpload.h"
#include "tterrors.h"
#include "ttsubpix.h"
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_ttgload |
#define | ARGS_ARE_WORDS 0x0001 |
#define | ARGS_ARE_XY_VALUES 0x0002 |
#define | ROUND_XY_TO_GRID 0x0004 |
#define | WE_HAVE_A_SCALE 0x0008 |
#define | MORE_COMPONENTS 0x0020 |
#define | WE_HAVE_AN_XY_SCALE 0x0040 |
#define | WE_HAVE_A_2X2 0x0080 |
#define | WE_HAVE_INSTR 0x0100 |
#define | USE_MY_METRICS 0x0200 |
#define | OVERLAP_COMPOUND 0x0400 |
#define | SCALED_COMPONENT_OFFSET 0x0800 |
#define | UNSCALED_COMPONENT_OFFSET 0x1000 |
#define | TT_LOADER_SET_PP(loader) |
Functions | |
TT_Get_HMetrics (TT_Face face, FT_UInt idx, FT_Short *lsb, FT_UShort *aw) | |
TT_Get_VMetrics (TT_Face face, FT_UInt idx, FT_Short *tsb, FT_UShort *ah) | |
TT_Access_Glyph_Frame (TT_Loader loader, FT_UInt glyph_index, FT_ULong offset, FT_UInt byte_count) | |
TT_Forget_Glyph_Frame (TT_Loader loader) | |
TT_Load_Glyph_Header (TT_Loader loader) | |
TT_Load_Simple_Glyph (TT_Loader load) | |
TT_Load_Composite_Glyph (TT_Loader loader) | |
TT_Init_Glyph_Loading (TT_Face face) | |
TT_Load_Glyph (TT_Size size, TT_GlyphSlot glyph, FT_UInt glyph_index, FT_Int32 load_flags) | |
#define ARGS_ARE_WORDS 0x0001 |
Definition at line 52 of file ttgload.c.
Referenced by TT_Load_Composite_Glyph().
#define MORE_COMPONENTS 0x0020 |
Definition at line 57 of file ttgload.c.
Referenced by TT_Load_Composite_Glyph().
#define TT_LOADER_SET_PP | ( | loader | ) |
#define WE_HAVE_A_2X2 0x0080 |
Definition at line 59 of file ttgload.c.
Referenced by TT_Load_Composite_Glyph().
#define WE_HAVE_A_SCALE 0x0008 |
Definition at line 55 of file ttgload.c.
Referenced by TT_Load_Composite_Glyph().
#define WE_HAVE_AN_XY_SCALE 0x0040 |
Definition at line 58 of file ttgload.c.
Referenced by TT_Load_Composite_Glyph().
TT_Access_Glyph_Frame | ( | TT_Loader | loader, |
FT_UInt | glyph_index, | ||
FT_ULong | offset, | ||
FT_UInt | byte_count | ||
) |
Definition at line 274 of file ttgload.c.
References FT_StreamRec_::cursor, TT_LoaderRec_::cursor, error, FT_CALLBACK_DEF, FT_Err_Ok, FT_FRAME_ENTER, FT_STREAM_SEEK, FT_TRACE4, FT_UNUSED, FT_StreamRec_::limit, TT_LoaderRec_::limit, and TT_LoaderRec_::stream.
Referenced by TT_Init_Glyph_Loading().
TT_Forget_Glyph_Frame | ( | TT_Loader | loader | ) |
Definition at line 300 of file ttgload.c.
References FT_CALLBACK_DEF, FT_FRAME_EXIT, and TT_LoaderRec_::stream.
Referenced by TT_Init_Glyph_Loading().
Definition at line 72 of file ttgload.c.
References FT_LOCAL_DEF, and FT_TRACE5.
TT_Init_Glyph_Loading | ( | TT_Face | face | ) |
Definition at line 682 of file ttgload.c.
References TT_FaceRec_::access_glyph_frame, TT_FaceRec_::forget_glyph_frame, TT_FaceRec_::read_composite_glyph, TT_FaceRec_::read_glyph_header, TT_FaceRec_::read_simple_glyph, TT_Access_Glyph_Frame(), TT_Forget_Glyph_Frame(), TT_Load_Composite_Glyph(), TT_Load_Glyph_Header(), and TT_Load_Simple_Glyph().
TT_Load_Composite_Glyph | ( | TT_Loader | loader | ) |
Definition at line 561 of file ttgload.c.
References FT_SubGlyphRec_::arg1, FT_SubGlyphRec_::arg2, ARGS_ARE_WORDS, TT_LoaderRec_::cursor, error, FT_SubGlyphRec_::flags, FT_GlyphLoader_CheckSubGlyphs(), FT_LOCAL_DEF, FT_NEXT_CHAR, FT_NEXT_SHORT, FT_NEXT_USHORT, FT_STREAM_POS, FT_THROW(), TT_LoaderRec_::gloader, FT_SubGlyphRec_::index, TT_LoaderRec_::ins_pos, TT_LoaderRec_::limit, MORE_COMPONENTS, TT_LoaderRec_::stream, FT_SubGlyphRec_::transform, WE_HAVE_A_2X2, WE_HAVE_A_SCALE, WE_HAVE_AN_XY_SCALE, FT_Matrix_::xx, FT_Matrix_::xy, FT_Matrix_::yx, and FT_Matrix_::yy.
Referenced by TT_Init_Glyph_Loading().
TT_Load_Glyph | ( | TT_Size | size, |
TT_GlyphSlot | glyph, | ||
FT_UInt | glyph_index, | ||
FT_Int32 | load_flags | ||
) |
Definition at line 2139 of file ttgload.c.
References error, FT_Err_Ok, FT_IS_SCALABLE, FT_LOAD_NO_BITMAP, and void().
TT_Load_Glyph_Header | ( | TT_Loader | loader | ) |
Definition at line 310 of file ttgload.c.
References TT_LoaderRec_::bbox, TT_LoaderRec_::cursor, FT_CALLBACK_DEF, FT_Err_Ok, FT_NEXT_SHORT, FT_THROW(), FT_TRACE5, TT_LoaderRec_::limit, TT_LoaderRec_::n_contours, FT_BBox_::xMax, FT_BBox_::xMin, FT_BBox_::yMax, and FT_BBox_::yMin.
Referenced by TT_Init_Glyph_Loading().
TT_Load_Simple_Glyph | ( | TT_Loader | load | ) |
Definition at line 338 of file ttgload.c.
References error, flag, for(), FT_ASSERT, FT_CALLBACK_DEF, FT_CURVE_TAG_ON, FT_GLYPHLOADER_CHECK_POINTS, FT_MEM_COPY, FT_NEXT_BYTE, FT_NEXT_SHORT, FT_NEXT_USHORT, FT_Pos, FT_THROW(), FT_TRACE0(), FT_TRACE5, if(), IS_HINTED, load(), TT_FaceRec_::max_profile, TT_MaxProfile_::maxSizeOfInstructions, FT_Outline_::n_contours, FT_Outline_::n_points, NULL, FT_Outline_::points, FT_Outline_::tags, vec, FT_Vector_::x, and FT_Vector_::y.
Referenced by TT_Init_Glyph_Loading().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.