sdk-world v2026.11.05
PS2 SDK - world tier (copyleft-allowed, non-essential packages)
Loading...
Searching...
No Matches
ttinterp.h File Reference
#include "ttobjs.h"

Go to the source code of this file.

Classes

struct  TT_CodeRange_
struct  TT_DefRecord_
struct  TT_CallRec_
struct  TT_ExecContextRec_

Macros

#define TT_Round_Off   5
#define TT_Round_To_Half_Grid   0
#define TT_Round_To_Grid   1
#define TT_Round_To_Double_Grid   2
#define TT_Round_Up_To_Grid   4
#define TT_Round_Down_To_Grid   3
#define TT_Round_Super   6
#define TT_Round_Super_45   7
#define TT_MAX_CODE_RANGES   3

Typedefs

typedef enum TT_CodeRange_Tag_ TT_CodeRange_Tag
typedef struct TT_CodeRange_ TT_CodeRange
typedef TT_CodeRange TT_CodeRangeTable[TT_MAX_CODE_RANGES]
typedef struct TT_DefRecord_ TT_DefRecord
typedef struct TT_DefRecord_ * TT_DefArray
typedef FT_F26Dot6(*) TT_Round_Func(TT_ExecContext exc, FT_F26Dot6 distance, FT_F26Dot6 compensation)
typedef void(*) TT_Move_Func(TT_ExecContext exc, TT_GlyphZone zone, FT_UShort point, FT_F26Dot6 distance)
typedef FT_F26Dot6(*) TT_Project_Func(TT_ExecContext exc, FT_Pos dx, FT_Pos dy)
typedef FT_Long(*) TT_Cur_Ppem_Func(TT_ExecContext exc)
typedef FT_F26Dot6(*) TT_Get_CVT_Func(TT_ExecContext exc, FT_ULong idx)
typedef void(*) TT_Set_CVT_Func(TT_ExecContext exc, FT_ULong idx, FT_F26Dot6 value)
typedef struct TT_CallRec_ TT_CallRec
typedef struct TT_CallRec_ * TT_CallStack
typedef struct TT_ExecContextRec_ TT_ExecContextRec

Enumerations

enum  TT_CodeRange_Tag_ { tt_coderange_none = 0 , tt_coderange_font , tt_coderange_cvt , tt_coderange_glyph }

Functions

 TT_Set_CodeRange (TT_ExecContext exec, FT_Int range, FT_Byte *base, FT_Long length)
 TT_Clear_CodeRange (TT_ExecContext exec, FT_Int range)
 TT_New_Context (TT_Driver driver)
 TT_Done_Context (TT_ExecContext exec)
 TT_Load_Context (TT_ExecContext exec, TT_Face face, TT_Size size)
 TT_Save_Context (TT_ExecContext exec, TT_Size size)
 TT_Run_Context (TT_ExecContext exec, TT_Size size)
 TT_RunIns (void *exec)

Variables

const TT_GraphicsState tt_default_graphics_state

Macro Definition Documentation

◆ TT_MAX_CODE_RANGES

#define TT_MAX_CODE_RANGES   3

Definition at line 55 of file ttinterp.h.

◆ TT_Round_Down_To_Grid

#define TT_Round_Down_To_Grid   3

Definition at line 41 of file ttinterp.h.

◆ TT_Round_Off

#define TT_Round_Off   5

Definition at line 36 of file ttinterp.h.

◆ TT_Round_Super

#define TT_Round_Super   6

Definition at line 42 of file ttinterp.h.

◆ TT_Round_Super_45

#define TT_Round_Super_45   7

Definition at line 43 of file ttinterp.h.

◆ TT_Round_To_Double_Grid

#define TT_Round_To_Double_Grid   2

Definition at line 39 of file ttinterp.h.

◆ TT_Round_To_Grid

#define TT_Round_To_Grid   1

Definition at line 38 of file ttinterp.h.

◆ TT_Round_To_Half_Grid

#define TT_Round_To_Half_Grid   0

Definition at line 37 of file ttinterp.h.

◆ TT_Round_Up_To_Grid

#define TT_Round_Up_To_Grid   4

Definition at line 40 of file ttinterp.h.

Typedef Documentation

◆ TT_CodeRangeTable

typedef TT_CodeRange TT_CodeRangeTable[TT_MAX_CODE_RANGES]

Definition at line 82 of file ttinterp.h.

◆ TT_Cur_Ppem_Func

typedef FT_Long(*) TT_Cur_Ppem_Func(TT_ExecContext exc)

Definition at line 128 of file ttinterp.h.

◆ TT_Get_CVT_Func

typedef FT_F26Dot6(*) TT_Get_CVT_Func(TT_ExecContext exc, FT_ULong idx)

Definition at line 132 of file ttinterp.h.

◆ TT_Move_Func

typedef void(*) TT_Move_Func(TT_ExecContext exc, TT_GlyphZone zone, FT_UShort point, FT_F26Dot6 distance)

Definition at line 115 of file ttinterp.h.

◆ TT_Project_Func

typedef FT_F26Dot6(*) TT_Project_Func(TT_ExecContext exc, FT_Pos dx, FT_Pos dy)

Definition at line 122 of file ttinterp.h.

◆ TT_Round_Func

typedef FT_F26Dot6(*) TT_Round_Func(TT_ExecContext exc, FT_F26Dot6 distance, FT_F26Dot6 compensation)

Definition at line 109 of file ttinterp.h.

◆ TT_Set_CVT_Func

typedef void(*) TT_Set_CVT_Func(TT_ExecContext exc, FT_ULong idx, FT_F26Dot6 value)

Definition at line 138 of file ttinterp.h.

Enumeration Type Documentation

◆ TT_CodeRange_Tag_

enum TT_CodeRange_Tag_

Definition at line 65 of file ttinterp.h.