Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Variables
gxvmod.c File Reference
#include <ft2build.h>
#include "gxvmod.h"
#include "gxvalid.h"
#include "gxvcommn.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_gxvmodule
 
#define GXV_TABLE_DECL(_sfnt)
 
#define GXV_TABLE_LOAD(_sfnt)
 
#define GXV_TABLE_VALIDATE(_sfnt)
 
#define GXV_TABLE_SET(_sfnt)
 

Variables

FT_CALLBACK_TABLE_DEF const FT_Module_Class gxv_module_class
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_gxvmodule

Definition at line 47 of file gxvmod.c.

◆ GXV_TABLE_DECL

#define GXV_TABLE_DECL (   _sfnt)
Value:
FT_Byte* volatile _sfnt = NULL; \
FT_ULong len_ ## _sfnt = 0
#define NULL
Definition: ftobjs.h:61
unsigned char FT_Byte
Definition: fttypes.h:150

Definition at line 76 of file gxvmod.c.

◆ GXV_TABLE_LOAD

#define GXV_TABLE_LOAD (   _sfnt)
Value:
if ( ( FT_VALIDATE_ ## _sfnt ## _INDEX < table_count ) && \
( gx_flags & FT_VALIDATE_ ## _sfnt ) ) \
{ \
error = gxv_load_table( face, TTAG_ ## _sfnt, \
&_sfnt, &len_ ## _sfnt ); \
if ( error ) \
goto Exit; \
}
GLenum GLuint GLint GLenum face
FT_Error error
Definition: cffdrivr.c:411

Definition at line 80 of file gxvmod.c.

◆ GXV_TABLE_SET

#define GXV_TABLE_SET (   _sfnt)
Value:
if ( FT_VALIDATE_ ## _sfnt ## _INDEX < table_count ) \
tables[FT_VALIDATE_ ## _sfnt ## _INDEX] = (FT_Bytes)_sfnt
const FT_Byte * FT_Bytes
Definition: fttypes.h:161

Definition at line 102 of file gxvmod.c.

◆ GXV_TABLE_VALIDATE

#define GXV_TABLE_VALIDATE (   _sfnt)
Value:
if ( _sfnt ) \
{ \
ft_validator_init( &valid, _sfnt, _sfnt + len_ ## _sfnt, \
if ( ft_setjmp( valid.jump_buffer ) == 0 ) \
gxv_ ## _sfnt ## _validate( _sfnt, face, &valid ); \
error = valid.error; \
if ( error ) \
goto Exit; \
}
GLenum GLuint GLint GLenum face
FT_Error error
Definition: cffdrivr.c:411
#define ft_setjmp(b)
Definition: ftstdlib.h:162

Definition at line 90 of file gxvmod.c.

Variable Documentation

◆ gxv_module_class

Initial value:
=
{
0,
sizeof ( FT_ModuleRec ),
"gxvalid",
0x10000L,
0x20000L,
0,
(FT_Module_Requester) gxvalid_get_service
}
FT_Error(* FT_Module_Constructor)(FT_Module module)
Definition: ftmodapi.h:121
struct FT_ModuleRec_ FT_ModuleRec
FT_Module_Interface(* FT_Module_Requester)(FT_Module module, const char *name)
Definition: ftmodapi.h:153
void(* FT_Module_Destructor)(FT_Module module)
Definition: ftmodapi.h:136

Definition at line 269 of file gxvmod.c.