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 | Typedefs | Enumerations | Functions
gxvkern.c File Reference
#include "gxvalid.h"
#include "gxvcommn.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_gxvkern
 
#define GXV_KERN_DATA(field)   GXV_TABLE_DATA( kern, field )
 
#define KERN_IS_CLASSIC(valid)   ( KERN_VERSION_CLASSIC == GXV_KERN_DATA( version ) )
 
#define KERN_IS_NEW(valid)   ( KERN_VERSION_NEW == GXV_KERN_DATA( version ) )
 
#define KERN_DIALECT(valid)   GXV_KERN_DATA( dialect_request )
 
#define KERN_ALLOWS_MS(valid)   ( KERN_DIALECT( valid ) & KERN_DIALECT_MS )
 
#define KERN_ALLOWS_APPLE(valid)   ( KERN_DIALECT( valid ) & KERN_DIALECT_APPLE )
 
#define GXV_KERN_HEADER_SIZE   ( KERN_IS_NEW( valid ) ? 8 : 4 )
 
#define GXV_KERN_SUBTABLE_HEADER_SIZE   ( KERN_IS_NEW( valid ) ? 8 : 6 )
 
#define GXV_KERN_FMT2_DATA(field)
 

Typedefs

typedef enum GXV_kern_Version_ GXV_kern_Version
 
typedef enum GXV_kern_Dialect_ GXV_kern_Dialect
 
typedef struct GXV_kern_DataRec_ GXV_kern_DataRec
 
typedef struct GXV_kern_DataRec_ * GXV_kern_Data
 
typedef struct GXV_kern_fmt1_StateOptRec_ GXV_kern_fmt1_StateOptRec
 
typedef struct GXV_kern_fmt1_StateOptRec_ * GXV_kern_fmt1_StateOptRecData
 
typedef enum GXV_kern_ClassSpec_ GXV_kern_ClassSpec
 
typedef struct GXV_kern_subtable_fmt2_DataRec_ GXV_kern_subtable_fmt2_DataRec
 
typedef struct GXV_kern_subtable_fmt2_DataRec_ * GXV_kern_subtable_fmt2_Data
 

Enumerations

enum  GXV_kern_Version_ { KERN_VERSION_CLASSIC = 0x0000, KERN_VERSION_NEW = 0x0001 }
 
enum  GXV_kern_Dialect_ { KERN_DIALECT_UNKNOWN = 0, KERN_DIALECT_MS = FT_VALIDATE_MS, KERN_DIALECT_APPLE = FT_VALIDATE_APPLE, KERN_DIALECT_ANY = FT_VALIDATE_CKERN }
 
enum  GXV_kern_ClassSpec_ { GXV_KERN_CLS_L = 0, GXV_KERN_CLS_R }
 

Functions

 gxv_kern_validate (FT_Bytes table, FT_Face face, FT_Validator ftvalid)
 
 gxv_kern_validate_classic (FT_Bytes table, FT_Face face, FT_Int dialect_flags, FT_Validator ftvalid)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_gxvkern

Definition at line 42 of file gxvkern.c.

◆ GXV_KERN_DATA

#define GXV_KERN_DATA (   field)    GXV_TABLE_DATA( kern, field )

Definition at line 80 of file gxvkern.c.

◆ GXV_KERN_FMT2_DATA

#define GXV_KERN_FMT2_DATA (   field)
Value:
( GXV_KERN_DATA( subtable_data ) ) )->field )
#define GXV_KERN_DATA(field)
Definition: gxvkern.c:80
struct GXV_kern_subtable_fmt2_DataRec_ GXV_kern_subtable_fmt2_DataRec

Definition at line 367 of file gxvkern.c.

◆ GXV_KERN_HEADER_SIZE

#define GXV_KERN_HEADER_SIZE   ( KERN_IS_NEW( valid ) ? 8 : 4 )

Definition at line 94 of file gxvkern.c.

◆ GXV_KERN_SUBTABLE_HEADER_SIZE

#define GXV_KERN_SUBTABLE_HEADER_SIZE   ( KERN_IS_NEW( valid ) ? 8 : 6 )

Definition at line 95 of file gxvkern.c.

◆ KERN_ALLOWS_APPLE

#define KERN_ALLOWS_APPLE (   valid)    ( KERN_DIALECT( valid ) & KERN_DIALECT_APPLE )

Definition at line 91 of file gxvkern.c.

◆ KERN_ALLOWS_MS

#define KERN_ALLOWS_MS (   valid)    ( KERN_DIALECT( valid ) & KERN_DIALECT_MS )

Definition at line 89 of file gxvkern.c.

◆ KERN_DIALECT

#define KERN_DIALECT (   valid)    GXV_KERN_DATA( dialect_request )

Definition at line 87 of file gxvkern.c.

◆ KERN_IS_CLASSIC

#define KERN_IS_CLASSIC (   valid)    ( KERN_VERSION_CLASSIC == GXV_KERN_DATA( version ) )

Definition at line 82 of file gxvkern.c.

◆ KERN_IS_NEW

#define KERN_IS_NEW (   valid)    ( KERN_VERSION_NEW == GXV_KERN_DATA( version ) )

Definition at line 84 of file gxvkern.c.

Typedef Documentation

◆ GXV_kern_ClassSpec

◆ GXV_kern_Data

typedef struct GXV_kern_DataRec_ * GXV_kern_Data

◆ GXV_kern_DataRec

typedef struct GXV_kern_DataRec_ GXV_kern_DataRec

◆ GXV_kern_Dialect

◆ GXV_kern_fmt1_StateOptRec

typedef struct GXV_kern_fmt1_StateOptRec_ GXV_kern_fmt1_StateOptRec

◆ GXV_kern_fmt1_StateOptRecData

typedef struct GXV_kern_fmt1_StateOptRec_ * GXV_kern_fmt1_StateOptRecData

◆ GXV_kern_subtable_fmt2_Data

typedef struct GXV_kern_subtable_fmt2_DataRec_ * GXV_kern_subtable_fmt2_Data

◆ GXV_kern_subtable_fmt2_DataRec

typedef struct GXV_kern_subtable_fmt2_DataRec_ GXV_kern_subtable_fmt2_DataRec

◆ GXV_kern_Version

Enumeration Type Documentation

◆ GXV_kern_ClassSpec_

Enumerator
GXV_KERN_CLS_L 
GXV_KERN_CLS_R 

Definition at line 343 of file gxvkern.c.

◆ GXV_kern_Dialect_

Enumerator
KERN_DIALECT_UNKNOWN 
KERN_DIALECT_MS 
KERN_DIALECT_APPLE 
KERN_DIALECT_ANY 

Definition at line 61 of file gxvkern.c.

◆ GXV_kern_Version_

Enumerator
KERN_VERSION_CLASSIC 
KERN_VERSION_NEW 

Definition at line 53 of file gxvkern.c.

Function Documentation

◆ gxv_kern_validate()

gxv_kern_validate ( FT_Bytes  table,
FT_Face  face,
FT_Validator  ftvalid 
)

Definition at line 900 of file gxvkern.c.

◆ gxv_kern_validate_classic()

gxv_kern_validate_classic ( FT_Bytes  table,
FT_Face  face,
FT_Int  dialect_flags,
FT_Validator  ftvalid 
)

Definition at line 909 of file gxvkern.c.