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

Go to the source code of this file.

Classes

struct  FT_Color_
struct  FT_Palette_Data_
struct  FT_LayerIterator_
struct  FT_ColorStopIterator_
struct  FT_ColorIndex_
struct  FT_ColorStop_
struct  FT_ColorLine_
struct  FT_Affine_23_
struct  FT_Opaque_Paint_
struct  FT_PaintColrLayers_
struct  FT_PaintSolid_
struct  FT_PaintLinearGradient_
struct  FT_PaintRadialGradient_
struct  FT_PaintSweepGradient_
struct  FT_PaintGlyph_
struct  FT_PaintColrGlyph_
struct  FT_PaintTransform_
struct  FT_PaintTranslate_
struct  FT_PaintScale_
struct  FT_PaintRotate_
struct  FT_PaintSkew_
struct  FT_PaintComposite_
struct  FT_COLR_Paint_
struct  FT_ClipBox_

Macros

#define FT_PALETTE_FOR_LIGHT_BACKGROUND   0x01
#define FT_PALETTE_FOR_DARK_BACKGROUND   0x02

Typedefs

typedef FT_BEGIN_HEADER struct FT_Color_ FT_Color
typedef struct FT_Palette_Data_ FT_Palette_Data
typedef struct FT_LayerIterator_ FT_LayerIterator
typedef enum FT_PaintFormat_ FT_PaintFormat
typedef struct FT_ColorStopIterator_ FT_ColorStopIterator
typedef struct FT_ColorIndex_ FT_ColorIndex
typedef struct FT_ColorStop_ FT_ColorStop
typedef enum FT_PaintExtend_ FT_PaintExtend
typedef struct FT_ColorLine_ FT_ColorLine
typedef struct FT_Affine_23_ FT_Affine23
typedef enum FT_Composite_Mode_ FT_Composite_Mode
typedef struct FT_Opaque_Paint_ FT_OpaquePaint
typedef struct FT_PaintColrLayers_ FT_PaintColrLayers
typedef struct FT_PaintSolid_ FT_PaintSolid
typedef struct FT_PaintLinearGradient_ FT_PaintLinearGradient
typedef struct FT_PaintRadialGradient_ FT_PaintRadialGradient
typedef struct FT_PaintSweepGradient_ FT_PaintSweepGradient
typedef struct FT_PaintGlyph_ FT_PaintGlyph
typedef struct FT_PaintColrGlyph_ FT_PaintColrGlyph
typedef struct FT_PaintTransform_ FT_PaintTransform
typedef struct FT_PaintTranslate_ FT_PaintTranslate
typedef struct FT_PaintScale_ FT_PaintScale
typedef struct FT_PaintRotate_ FT_PaintRotate
typedef struct FT_PaintSkew_ FT_PaintSkew
typedef struct FT_PaintComposite_ FT_PaintComposite
typedef struct FT_COLR_Paint_ FT_COLR_Paint
typedef enum FT_Color_Root_Transform_ FT_Color_Root_Transform
typedef struct FT_ClipBox_ FT_ClipBox

Enumerations

enum  FT_PaintFormat_ {
  FT_COLR_PAINTFORMAT_COLR_LAYERS = 1 , FT_COLR_PAINTFORMAT_SOLID = 2 , FT_COLR_PAINTFORMAT_LINEAR_GRADIENT = 4 , FT_COLR_PAINTFORMAT_RADIAL_GRADIENT = 6 ,
  FT_COLR_PAINTFORMAT_SWEEP_GRADIENT = 8 , FT_COLR_PAINTFORMAT_GLYPH = 10 , FT_COLR_PAINTFORMAT_COLR_GLYPH = 11 , FT_COLR_PAINTFORMAT_TRANSFORM = 12 ,
  FT_COLR_PAINTFORMAT_TRANSLATE = 14 , FT_COLR_PAINTFORMAT_SCALE = 16 , FT_COLR_PAINTFORMAT_ROTATE = 24 , FT_COLR_PAINTFORMAT_SKEW = 28 ,
  FT_COLR_PAINTFORMAT_COMPOSITE = 32 , FT_COLR_PAINT_FORMAT_MAX = 33 , FT_COLR_PAINTFORMAT_UNSUPPORTED = 255
}
enum  FT_PaintExtend_ { FT_COLR_PAINT_EXTEND_PAD = 0 , FT_COLR_PAINT_EXTEND_REPEAT = 1 , FT_COLR_PAINT_EXTEND_REFLECT = 2 }
enum  FT_Composite_Mode_ {
  FT_COLR_COMPOSITE_CLEAR = 0 , FT_COLR_COMPOSITE_SRC = 1 , FT_COLR_COMPOSITE_DEST = 2 , FT_COLR_COMPOSITE_SRC_OVER = 3 ,
  FT_COLR_COMPOSITE_DEST_OVER = 4 , FT_COLR_COMPOSITE_SRC_IN = 5 , FT_COLR_COMPOSITE_DEST_IN = 6 , FT_COLR_COMPOSITE_SRC_OUT = 7 ,
  FT_COLR_COMPOSITE_DEST_OUT = 8 , FT_COLR_COMPOSITE_SRC_ATOP = 9 , FT_COLR_COMPOSITE_DEST_ATOP = 10 , FT_COLR_COMPOSITE_XOR = 11 ,
  FT_COLR_COMPOSITE_PLUS = 12 , FT_COLR_COMPOSITE_SCREEN = 13 , FT_COLR_COMPOSITE_OVERLAY = 14 , FT_COLR_COMPOSITE_DARKEN = 15 ,
  FT_COLR_COMPOSITE_LIGHTEN = 16 , FT_COLR_COMPOSITE_COLOR_DODGE = 17 , FT_COLR_COMPOSITE_COLOR_BURN = 18 , FT_COLR_COMPOSITE_HARD_LIGHT = 19 ,
  FT_COLR_COMPOSITE_SOFT_LIGHT = 20 , FT_COLR_COMPOSITE_DIFFERENCE = 21 , FT_COLR_COMPOSITE_EXCLUSION = 22 , FT_COLR_COMPOSITE_MULTIPLY = 23 ,
  FT_COLR_COMPOSITE_HSL_HUE = 24 , FT_COLR_COMPOSITE_HSL_SATURATION = 25 , FT_COLR_COMPOSITE_HSL_COLOR = 26 , FT_COLR_COMPOSITE_HSL_LUMINOSITY = 27 ,
  FT_COLR_COMPOSITE_MAX = 28
}
enum  FT_Color_Root_Transform_ { FT_COLOR_INCLUDE_ROOT_TRANSFORM , FT_COLOR_NO_ROOT_TRANSFORM , FT_COLOR_ROOT_TRANSFORM_MAX }

Functions

 FT_Palette_Data_Get (FT_Face face, FT_Palette_Data *apalette)
 FT_Palette_Select (FT_Face face, FT_UShort palette_index, FT_Color **apalette)
 FT_Palette_Set_Foreground_Color (FT_Face face, FT_Color foreground_color)
 FT_Get_Color_Glyph_Layer (FT_Face face, FT_UInt base_glyph, FT_UInt *aglyph_index, FT_UInt *acolor_index, FT_LayerIterator *iterator)
 FT_Get_Color_Glyph_Paint (FT_Face face, FT_UInt base_glyph, FT_Color_Root_Transform root_transform, FT_OpaquePaint *paint)
 FT_Get_Color_Glyph_ClipBox (FT_Face face, FT_UInt base_glyph, FT_ClipBox *clip_box)
 FT_Get_Paint_Layers (FT_Face face, FT_LayerIterator *iterator, FT_OpaquePaint *paint)
 FT_Get_Colorline_Stops (FT_Face face, FT_ColorStop *color_stop, FT_ColorStopIterator *iterator)
 FT_Get_Paint (FT_Face face, FT_OpaquePaint opaque_paint, FT_COLR_Paint *paint)

Macro Definition Documentation

◆ FT_PALETTE_FOR_DARK_BACKGROUND

#define FT_PALETTE_FOR_DARK_BACKGROUND   0x02

Definition at line 115 of file ftcolor.h.

◆ FT_PALETTE_FOR_LIGHT_BACKGROUND

#define FT_PALETTE_FOR_LIGHT_BACKGROUND   0x01

Definition at line 114 of file ftcolor.h.

Enumeration Type Documentation

◆ FT_Color_Root_Transform_

enum FT_Color_Root_Transform_

Definition at line 1367 of file ftcolor.h.

◆ FT_Composite_Mode_

enum FT_Composite_Mode_

Definition at line 737 of file ftcolor.h.

◆ FT_PaintExtend_

enum FT_PaintExtend_

Definition at line 642 of file ftcolor.h.

◆ FT_PaintFormat_

enum FT_PaintFormat_

Definition at line 510 of file ftcolor.h.

Function Documentation

◆ FT_Get_Color_Glyph_ClipBox()

FT_Get_Color_Glyph_ClipBox ( FT_Face face,
FT_UInt base_glyph,
FT_ClipBox * clip_box )

Definition at line 5796 of file ftobjs.c.

◆ FT_Get_Color_Glyph_Layer()

FT_Get_Color_Glyph_Layer ( FT_Face face,
FT_UInt base_glyph,
FT_UInt * aglyph_index,
FT_UInt * acolor_index,
FT_LayerIterator * iterator )

Definition at line 5728 of file ftobjs.c.

◆ FT_Get_Color_Glyph_Paint()

FT_Get_Color_Glyph_Paint ( FT_Face face,
FT_UInt base_glyph,
FT_Color_Root_Transform root_transform,
FT_OpaquePaint * paint )

Definition at line 5765 of file ftobjs.c.

◆ FT_Get_Colorline_Stops()

FT_Get_Colorline_Stops ( FT_Face face,
FT_ColorStop * color_stop,
FT_ColorStopIterator * iterator )

Definition at line 5879 of file ftobjs.c.

◆ FT_Get_Paint()

FT_Get_Paint ( FT_Face face,
FT_OpaquePaint opaque_paint,
FT_COLR_Paint * paint )

Definition at line 5852 of file ftobjs.c.

◆ FT_Get_Paint_Layers()

FT_Get_Paint_Layers ( FT_Face face,
FT_LayerIterator * iterator,
FT_OpaquePaint * paint )

Definition at line 5825 of file ftobjs.c.

◆ FT_Palette_Data_Get()

FT_Palette_Data_Get ( FT_Face face,
FT_Palette_Data * apalette )

Definition at line 118 of file ftcolor.c.

◆ FT_Palette_Select()

FT_Palette_Select ( FT_Face face,
FT_UShort palette_index,
FT_Color ** apalette )

Definition at line 130 of file ftcolor.c.

◆ FT_Palette_Set_Foreground_Color()

FT_Palette_Set_Foreground_Color ( FT_Face face,
FT_Color foreground_color )

Definition at line 144 of file ftcolor.c.