Eneboo - Documentación para desarrolladores
|
#include <ft2build.h>
Ir al código fuente de este archivo.
'defines' | |
#define | FALSE 0 |
#define | TRUE 1 |
#define | TT_Err_Ok FT_Err_Ok |
#define | TT_Err_Invalid_Argument FT_Err_Invalid_Argument |
#define | TT_Err_Invalid_Face_Handle FT_Err_Invalid_Face_Handle |
#define | TT_Err_Table_Missing FT_Err_Table_Missing |
#define | SET_ERR(c) ( (error = (c)) != 0 ) |
#define | FTGLUE_API(x) extern x |
#define | FTGLUE_APIDEF(x) x |
#define | FILE_Pos() ftglue_stream_pos( stream ) |
#define | FILE_Seek(pos) SET_ERR( ftglue_stream_seek( stream, pos ) ) |
#define | ACCESS_Frame(size) SET_ERR( ftglue_stream_frame_enter( stream, size ) ) |
#define | FORGET_Frame() ftglue_stream_frame_exit( stream ) |
#define | GET_Byte() ftglue_stream_get_byte( stream ) |
#define | GET_Short() ftglue_stream_get_short( stream ) |
#define | GET_Long() ftglue_stream_get_long( stream ) |
#define | GET_Char() ((FT_Char)GET_Byte()) |
#define | GET_UShort() ((FT_UShort)GET_Short()) |
#define | GET_ULong() ((FT_ULong)GET_Long()) |
#define | GET_Tag4() GET_ULong() |
#define | ALLOC(_ptr, _size) ( (_ptr) = ftglue_alloc( memory, _size, &error ), error != 0 ) |
#define | REALLOC(_ptr, _oldsz, _newsz) ( (_ptr) = ftglue_realloc( memory, (_ptr), (_oldsz), (_newsz), &error ), error != 0 ) |
#define | FREE(_ptr) |
#define | ALLOC_ARRAY(_ptr, _count, _type) ALLOC(_ptr,(_count)*sizeof(_type)) |
#define | REALLOC_ARRAY(_ptr, _oldcnt, _newcnt, _type) REALLOC(_ptr,(_oldcnt)*sizeof(_type),(_newcnt)*sizeof(_type)) |
#define | MEM_Copy(dest, source, count) memcpy( (char*)(dest), (const char*)(source), (size_t)(count) ) |
Funciones | |
ftglue_stream_pos (FT_Stream stream) | |
ftglue_stream_seek (FT_Stream stream, FT_Long pos) | |
ftglue_stream_frame_enter (FT_Stream stream, FT_ULong size) | |
ftglue_stream_frame_exit (FT_Stream stream) | |
ftglue_stream_get_byte (FT_Stream stream) | |
ftglue_stream_get_short (FT_Stream stream) | |
ftglue_stream_get_long (FT_Stream stream) | |
ftglue_face_goto_table (FT_Face face, FT_ULong tag, FT_Stream stream) | |
ftglue_alloc (FT_Memory memory, FT_ULong size, FT_Error *perror_) | |
ftglue_realloc (FT_Memory memory, FT_Pointer block, FT_ULong old_size, FT_ULong new_size, FT_Error *perror_) | |
ftglue_free (FT_Memory memory, FT_Pointer block) |
#define ALLOC_ARRAY | ( | _ptr, | |
_count, | |||
_type | |||
) | ALLOC(_ptr,(_count)*sizeof(_type)) |
#define FALSE 0 |
#define FILE_Pos | ( | ) | ftglue_stream_pos( stream ) |
#define FILE_Seek | ( | pos | ) | SET_ERR( ftglue_stream_seek( stream, pos ) ) |
#define FORGET_Frame | ( | ) | ftglue_stream_frame_exit( stream ) |
#define FREE | ( | _ptr | ) |
do { \ if ( (_ptr) ) \ { \ ftglue_free( memory, _ptr ); \ _ptr = NULL; \ } \ } while (0)
#define FTGLUE_API | ( | x | ) | extern x |
#define FTGLUE_APIDEF | ( | x | ) | x |
#define GET_Byte | ( | ) | ftglue_stream_get_byte( stream ) |
#define GET_Char | ( | ) | ((FT_Char)GET_Byte()) |
#define GET_Long | ( | ) | ftglue_stream_get_long( stream ) |
#define GET_Short | ( | ) | ftglue_stream_get_short( stream ) |
#define GET_Tag4 | ( | ) | GET_ULong() |
#define GET_ULong | ( | ) | ((FT_ULong)GET_Long()) |
#define GET_UShort | ( | ) | ((FT_UShort)GET_Short()) |
#define MEM_Copy | ( | dest, | |
source, | |||
count | |||
) | memcpy( (char*)(dest), (const char*)(source), (size_t)(count) ) |
#define REALLOC | ( | _ptr, | |
_oldsz, | |||
_newsz | |||
) | ( (_ptr) = ftglue_realloc( memory, (_ptr), (_oldsz), (_newsz), &error ), error != 0 ) |
#define REALLOC_ARRAY | ( | _ptr, | |
_oldcnt, | |||
_newcnt, | |||
_type | |||
) | REALLOC(_ptr,(_oldcnt)*sizeof(_type),(_newcnt)*sizeof(_type)) |
#define TRUE 1 |
#define TT_Err_Invalid_Argument FT_Err_Invalid_Argument |
#define TT_Err_Invalid_Face_Handle FT_Err_Invalid_Face_Handle |
#define TT_Err_Ok FT_Err_Ok |
#define TT_Err_Table_Missing FT_Err_Table_Missing |
ftglue_alloc | ( | FT_Memory | memory, |
FT_ULong | size, | ||
FT_Error * | perror_ | ||
) |
ftglue_face_goto_table | ( | FT_Face | face, |
FT_ULong | tag, | ||
FT_Stream | stream | ||
) |
ftglue_free | ( | FT_Memory | memory, |
FT_Pointer | block | ||
) |
ftglue_realloc | ( | FT_Memory | memory, |
FT_Pointer | block, | ||
FT_ULong | old_size, | ||
FT_ULong | new_size, | ||
FT_Error * | perror_ | ||
) |
ftglue_stream_frame_enter | ( | FT_Stream | stream, |
FT_ULong | size | ||
) |
ftglue_stream_frame_exit | ( | FT_Stream | stream | ) |
ftglue_stream_get_byte | ( | FT_Stream | stream | ) |
ftglue_stream_get_long | ( | FT_Stream | stream | ) |
ftglue_stream_get_short | ( | FT_Stream | stream | ) |
ftglue_stream_pos | ( | FT_Stream | stream | ) |
ftglue_stream_seek | ( | FT_Stream | stream, |
FT_Long | pos | ||
) |