ReactOS 0.4.16-dev-340-g0540c21
svsfnt.h File Reference

Go to the source code of this file.

Macros

#define FT_SERVICE_ID_SFNT_TABLE   "sfnt-table"
 
#define FT_DEFINE_SERVICE_SFNT_TABLEREC(class_, load_, get_, info_)
 

Typedefs

typedef FT_Error(* FT_SFNT_TableLoadFunc) (FT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)
 
typedef void *(* FT_SFNT_TableGetFunc) (FT_Face face, FT_Sfnt_Tag tag)
 
typedef FT_Error(* FT_SFNT_TableInfoFunc) (FT_Face face, FT_UInt idx, FT_ULong *tag, FT_ULong *offset, FT_ULong *length)
 

Functions

 FT_DEFINE_SERVICE (SFNT_Table)
 

Macro Definition Documentation

◆ FT_DEFINE_SERVICE_SFNT_TABLEREC

#define FT_DEFINE_SERVICE_SFNT_TABLEREC (   class_,
  load_,
  get_,
  info_ 
)
Value:
static const FT_Service_SFNT_TableRec class_ = \
{ \
load_, get_, info_ \
};

Definition at line 75 of file svsfnt.h.

◆ FT_SERVICE_ID_SFNT_TABLE

#define FT_SERVICE_ID_SFNT_TABLE   "sfnt-table"

Definition at line 33 of file svsfnt.h.

Typedef Documentation

◆ FT_SFNT_TableGetFunc

typedef void *(* FT_SFNT_TableGetFunc) (FT_Face face, FT_Sfnt_Tag tag)

Definition at line 49 of file svsfnt.h.

◆ FT_SFNT_TableInfoFunc

typedef FT_Error(* FT_SFNT_TableInfoFunc) (FT_Face face, FT_UInt idx, FT_ULong *tag, FT_ULong *offset, FT_ULong *length)

Definition at line 57 of file svsfnt.h.

◆ FT_SFNT_TableLoadFunc

typedef FT_Error(* FT_SFNT_TableLoadFunc) (FT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)

Definition at line 39 of file svsfnt.h.

Function Documentation

◆ FT_DEFINE_SERVICE()

FT_DEFINE_SERVICE ( SFNT_Table  )

Definition at line 65 of file svsfnt.h.

66 {
67 FT_SFNT_TableLoadFunc load_table;
70 };
static UINT get_table(MSIDATABASE *db, LPCWSTR name, MSITABLE **table_ret)
Definition: table.c:575
static const struct @244 table_info[]
void *(* FT_SFNT_TableGetFunc)(FT_Face face, FT_Sfnt_Tag tag)
Definition: svsfnt.h:50
FT_Error(* FT_SFNT_TableLoadFunc)(FT_Face face, FT_ULong tag, FT_Long offset, FT_Byte *buffer, FT_ULong *length)
Definition: svsfnt.h:40
FT_Error(* FT_SFNT_TableInfoFunc)(FT_Face face, FT_UInt idx, FT_ULong *tag, FT_ULong *offset, FT_ULong *length)
Definition: svsfnt.h:58