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

Go to the source code of this file.

Classes

struct  FT_Vector_
struct  FT_BBox_
struct  FT_Bitmap_
struct  FT_Outline_
struct  FT_Outline_Funcs_
struct  FT_Span_
struct  FT_Raster_Params_
struct  FT_Raster_Funcs_

Macros

#define ft_pixel_mode_none   FT_PIXEL_MODE_NONE
#define ft_pixel_mode_mono   FT_PIXEL_MODE_MONO
#define ft_pixel_mode_grays   FT_PIXEL_MODE_GRAY
#define ft_pixel_mode_pal2   FT_PIXEL_MODE_GRAY2
#define ft_pixel_mode_pal4   FT_PIXEL_MODE_GRAY4
#define FT_OUTLINE_CONTOURS_MAX   USHRT_MAX
#define FT_OUTLINE_POINTS_MAX   USHRT_MAX
#define FT_OUTLINE_NONE   0x0
#define FT_OUTLINE_OWNER   0x1
#define FT_OUTLINE_EVEN_ODD_FILL   0x2
#define FT_OUTLINE_REVERSE_FILL   0x4
#define FT_OUTLINE_IGNORE_DROPOUTS   0x8
#define FT_OUTLINE_SMART_DROPOUTS   0x10
#define FT_OUTLINE_INCLUDE_STUBS   0x20
#define FT_OUTLINE_OVERLAP   0x40
#define FT_OUTLINE_HIGH_PRECISION   0x100
#define FT_OUTLINE_SINGLE_PASS   0x200
#define ft_outline_none   FT_OUTLINE_NONE
#define ft_outline_owner   FT_OUTLINE_OWNER
#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL
#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL
#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS
#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION
#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS
#define FT_CURVE_TAG(flag)
#define FT_CURVE_TAG_ON   0x01
#define FT_CURVE_TAG_CONIC   0x00
#define FT_CURVE_TAG_CUBIC   0x02
#define FT_CURVE_TAG_HAS_SCANMODE   0x04
#define FT_CURVE_TAG_TOUCH_X   0x08
#define FT_CURVE_TAG_TOUCH_Y   0x10
#define FT_CURVE_TAG_TOUCH_BOTH
#define FT_Curve_Tag_On   FT_CURVE_TAG_ON
#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC
#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC
#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X
#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y
#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc
#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc
#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc
#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc
#define FT_IMAGE_TAG(value, _x1, _x2, _x3, _x4)
#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE
#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE
#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP
#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE
#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER
#define FT_Raster_Span_Func   FT_SpanFunc
#define FT_RASTER_FLAG_DEFAULT   0x0
#define FT_RASTER_FLAG_AA   0x1
#define FT_RASTER_FLAG_DIRECT   0x2
#define FT_RASTER_FLAG_CLIP   0x4
#define FT_RASTER_FLAG_SDF   0x8
#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT
#define ft_raster_flag_aa   FT_RASTER_FLAG_AA
#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT
#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP
#define FT_Raster_New_Func   FT_Raster_NewFunc
#define FT_Raster_Done_Func   FT_Raster_DoneFunc
#define FT_Raster_Reset_Func   FT_Raster_ResetFunc
#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc
#define FT_Raster_Render_Func   FT_Raster_RenderFunc

Typedefs

typedef struct FT_Vector_ FT_Vector
typedef struct FT_BBox_ FT_BBox
typedef enum FT_Pixel_Mode_ FT_Pixel_Mode
typedef struct FT_Bitmap_ FT_Bitmap
typedef struct FT_Outline_ FT_Outline
typedef int(*) FT_Outline_MoveToFunc(const FT_Vector *to, void *user)
typedef int(*) FT_Outline_LineToFunc(const FT_Vector *to, void *user)
typedef int(*) FT_Outline_ConicToFunc(const FT_Vector *control, const FT_Vector *to, void *user)
typedef int(*) FT_Outline_CubicToFunc(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)
typedef struct FT_Outline_Funcs_ FT_Outline_Funcs
typedef enum FT_Glyph_Format_ FT_Glyph_Format
typedef struct FT_Span_ FT_Span
typedef void(*) FT_SpanFunc(int y, int count, const FT_Span *spans, void *user)
typedef int(*) FT_Raster_BitTest_Func(int y, int x, void *user)
typedef void(*) FT_Raster_BitSet_Func(int y, int x, void *user)
typedef struct FT_Raster_Params_ FT_Raster_Params
typedef struct FT_RasterRec_ * FT_Raster
typedef int(*) FT_Raster_NewFunc(void *memory, FT_Raster *raster)
typedef void(*) FT_Raster_DoneFunc(FT_Raster raster)
typedef void(*) FT_Raster_ResetFunc(FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)
typedef int(*) FT_Raster_SetModeFunc(FT_Raster raster, unsigned long mode, void *args)
typedef int(*) FT_Raster_RenderFunc(FT_Raster raster, const FT_Raster_Params *params)
typedef struct FT_Raster_Funcs_ FT_Raster_Funcs

Enumerations

enum  FT_Pixel_Mode_ {
  FT_PIXEL_MODE_NONE = 0 , FT_PIXEL_MODE_MONO , FT_PIXEL_MODE_GRAY , FT_PIXEL_MODE_GRAY2 ,
  FT_PIXEL_MODE_GRAY4 , FT_PIXEL_MODE_LCD , FT_PIXEL_MODE_LCD_V , FT_PIXEL_MODE_BGRA ,
  FT_PIXEL_MODE_MAX
}
enum  FT_Glyph_Format_ {
  FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ) , FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ) , FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ) , FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 ) ,
  FT_IMAGE_TAG =( FT_GLYPH_FORMAT_NONE, 0, 0, 0, 0 )
}

Variables

FT_BEGIN_HEADER typedef signed long FT_Pos

Macro Definition Documentation

◆ FT_CURVE_TAG

#define FT_CURVE_TAG ( flag)
Value:
( flag & 0x03 )

Definition at line 478 of file ftimage.h.

◆ FT_CURVE_TAG_CONIC

#define FT_CURVE_TAG_CONIC   0x00

Definition at line 482 of file ftimage.h.

◆ FT_Curve_Tag_Conic

#define FT_Curve_Tag_Conic   FT_CURVE_TAG_CONIC

Definition at line 498 of file ftimage.h.

◆ FT_CURVE_TAG_CUBIC

#define FT_CURVE_TAG_CUBIC   0x02

Definition at line 483 of file ftimage.h.

◆ FT_Curve_Tag_Cubic

#define FT_Curve_Tag_Cubic   FT_CURVE_TAG_CUBIC

Definition at line 499 of file ftimage.h.

◆ FT_CURVE_TAG_HAS_SCANMODE

#define FT_CURVE_TAG_HAS_SCANMODE   0x04

Definition at line 485 of file ftimage.h.

◆ FT_CURVE_TAG_ON

#define FT_CURVE_TAG_ON   0x01

Definition at line 481 of file ftimage.h.

◆ FT_Curve_Tag_On

#define FT_Curve_Tag_On   FT_CURVE_TAG_ON

Definition at line 497 of file ftimage.h.

◆ FT_CURVE_TAG_TOUCH_BOTH

#define FT_CURVE_TAG_TOUCH_BOTH
Value:
( FT_CURVE_TAG_TOUCH_X | \
FT_CURVE_TAG_TOUCH_Y )

Definition at line 490 of file ftimage.h.

◆ FT_CURVE_TAG_TOUCH_X

#define FT_CURVE_TAG_TOUCH_X   0x08

Definition at line 487 of file ftimage.h.

◆ FT_Curve_Tag_Touch_X

#define FT_Curve_Tag_Touch_X   FT_CURVE_TAG_TOUCH_X

Definition at line 500 of file ftimage.h.

◆ FT_CURVE_TAG_TOUCH_Y

#define FT_CURVE_TAG_TOUCH_Y   0x10

Definition at line 488 of file ftimage.h.

◆ FT_Curve_Tag_Touch_Y

#define FT_Curve_Tag_Touch_Y   FT_CURVE_TAG_TOUCH_Y

Definition at line 501 of file ftimage.h.

◆ ft_glyph_format_bitmap

#define ft_glyph_format_bitmap   FT_GLYPH_FORMAT_BITMAP

Definition at line 785 of file ftimage.h.

◆ ft_glyph_format_composite

#define ft_glyph_format_composite   FT_GLYPH_FORMAT_COMPOSITE

Definition at line 784 of file ftimage.h.

◆ ft_glyph_format_none

#define ft_glyph_format_none   FT_GLYPH_FORMAT_NONE

Definition at line 783 of file ftimage.h.

◆ ft_glyph_format_outline

#define ft_glyph_format_outline   FT_GLYPH_FORMAT_OUTLINE

Definition at line 786 of file ftimage.h.

◆ ft_glyph_format_plotter

#define ft_glyph_format_plotter   FT_GLYPH_FORMAT_PLOTTER

Definition at line 787 of file ftimage.h.

◆ FT_IMAGE_TAG

#define FT_IMAGE_TAG ( value,
_x1,
_x2,
_x3,
_x4 )
Value:
value = ( ( FT_STATIC_BYTE_CAST( unsigned long, _x1 ) << 24 ) | \
( FT_STATIC_BYTE_CAST( unsigned long, _x2 ) << 16 ) | \
( FT_STATIC_BYTE_CAST( unsigned long, _x3 ) << 8 ) | \
FT_STATIC_BYTE_CAST( unsigned long, _x4 ) )

Definition at line 718 of file ftimage.h.

◆ FT_Outline_ConicTo_Func

#define FT_Outline_ConicTo_Func   FT_Outline_ConicToFunc

Definition at line 594 of file ftimage.h.

◆ FT_OUTLINE_CONTOURS_MAX

#define FT_OUTLINE_CONTOURS_MAX   USHRT_MAX

Definition at line 372 of file ftimage.h.

◆ FT_Outline_CubicTo_Func

#define FT_Outline_CubicTo_Func   FT_Outline_CubicToFunc

Definition at line 631 of file ftimage.h.

◆ FT_OUTLINE_EVEN_ODD_FILL

#define FT_OUTLINE_EVEN_ODD_FILL   0x2

Definition at line 455 of file ftimage.h.

◆ ft_outline_even_odd_fill

#define ft_outline_even_odd_fill   FT_OUTLINE_EVEN_ODD_FILL

Definition at line 470 of file ftimage.h.

◆ FT_OUTLINE_HIGH_PRECISION

#define FT_OUTLINE_HIGH_PRECISION   0x100

Definition at line 462 of file ftimage.h.

◆ ft_outline_high_precision

#define ft_outline_high_precision   FT_OUTLINE_HIGH_PRECISION

Definition at line 473 of file ftimage.h.

◆ FT_OUTLINE_IGNORE_DROPOUTS

#define FT_OUTLINE_IGNORE_DROPOUTS   0x8

Definition at line 457 of file ftimage.h.

◆ ft_outline_ignore_dropouts

#define ft_outline_ignore_dropouts   FT_OUTLINE_IGNORE_DROPOUTS

Definition at line 472 of file ftimage.h.

◆ FT_OUTLINE_INCLUDE_STUBS

#define FT_OUTLINE_INCLUDE_STUBS   0x20

Definition at line 459 of file ftimage.h.

◆ FT_Outline_LineTo_Func

#define FT_Outline_LineTo_Func   FT_Outline_LineToFunc

Definition at line 559 of file ftimage.h.

◆ FT_Outline_MoveTo_Func

#define FT_Outline_MoveTo_Func   FT_Outline_MoveToFunc

Definition at line 530 of file ftimage.h.

◆ FT_OUTLINE_NONE

#define FT_OUTLINE_NONE   0x0

Definition at line 453 of file ftimage.h.

◆ ft_outline_none

#define ft_outline_none   FT_OUTLINE_NONE

Definition at line 468 of file ftimage.h.

◆ FT_OUTLINE_OVERLAP

#define FT_OUTLINE_OVERLAP   0x40

Definition at line 460 of file ftimage.h.

◆ FT_OUTLINE_OWNER

#define FT_OUTLINE_OWNER   0x1

Definition at line 454 of file ftimage.h.

◆ ft_outline_owner

#define ft_outline_owner   FT_OUTLINE_OWNER

Definition at line 469 of file ftimage.h.

◆ FT_OUTLINE_POINTS_MAX

#define FT_OUTLINE_POINTS_MAX   USHRT_MAX

Definition at line 373 of file ftimage.h.

◆ FT_OUTLINE_REVERSE_FILL

#define FT_OUTLINE_REVERSE_FILL   0x4

Definition at line 456 of file ftimage.h.

◆ ft_outline_reverse_fill

#define ft_outline_reverse_fill   FT_OUTLINE_REVERSE_FILL

Definition at line 471 of file ftimage.h.

◆ FT_OUTLINE_SINGLE_PASS

#define FT_OUTLINE_SINGLE_PASS   0x200

Definition at line 463 of file ftimage.h.

◆ ft_outline_single_pass

#define ft_outline_single_pass   FT_OUTLINE_SINGLE_PASS

Definition at line 474 of file ftimage.h.

◆ FT_OUTLINE_SMART_DROPOUTS

#define FT_OUTLINE_SMART_DROPOUTS   0x10

Definition at line 458 of file ftimage.h.

◆ ft_pixel_mode_grays

#define ft_pixel_mode_grays   FT_PIXEL_MODE_GRAY

Definition at line 204 of file ftimage.h.

◆ ft_pixel_mode_mono

#define ft_pixel_mode_mono   FT_PIXEL_MODE_MONO

Definition at line 203 of file ftimage.h.

◆ ft_pixel_mode_none

#define ft_pixel_mode_none   FT_PIXEL_MODE_NONE

Definition at line 202 of file ftimage.h.

◆ ft_pixel_mode_pal2

#define ft_pixel_mode_pal2   FT_PIXEL_MODE_GRAY2

Definition at line 205 of file ftimage.h.

◆ ft_pixel_mode_pal4

#define ft_pixel_mode_pal4   FT_PIXEL_MODE_GRAY4

Definition at line 206 of file ftimage.h.

◆ FT_Raster_Done_Func

#define FT_Raster_Done_Func   FT_Raster_DoneFunc

Definition at line 1144 of file ftimage.h.

◆ FT_RASTER_FLAG_AA

#define FT_RASTER_FLAG_AA   0x1

Definition at line 995 of file ftimage.h.

◆ ft_raster_flag_aa

#define ft_raster_flag_aa   FT_RASTER_FLAG_AA

Definition at line 1003 of file ftimage.h.

◆ FT_RASTER_FLAG_CLIP

#define FT_RASTER_FLAG_CLIP   0x4

Definition at line 997 of file ftimage.h.

◆ ft_raster_flag_clip

#define ft_raster_flag_clip   FT_RASTER_FLAG_CLIP

Definition at line 1005 of file ftimage.h.

◆ FT_RASTER_FLAG_DEFAULT

#define FT_RASTER_FLAG_DEFAULT   0x0

Definition at line 994 of file ftimage.h.

◆ ft_raster_flag_default

#define ft_raster_flag_default   FT_RASTER_FLAG_DEFAULT

Definition at line 1002 of file ftimage.h.

◆ FT_RASTER_FLAG_DIRECT

#define FT_RASTER_FLAG_DIRECT   0x2

Definition at line 996 of file ftimage.h.

◆ ft_raster_flag_direct

#define ft_raster_flag_direct   FT_RASTER_FLAG_DIRECT

Definition at line 1004 of file ftimage.h.

◆ FT_RASTER_FLAG_SDF

#define FT_RASTER_FLAG_SDF   0x8

Definition at line 998 of file ftimage.h.

◆ FT_Raster_New_Func

#define FT_Raster_New_Func   FT_Raster_NewFunc

Definition at line 1126 of file ftimage.h.

◆ FT_Raster_Render_Func

#define FT_Raster_Render_Func   FT_Raster_RenderFunc

Definition at line 1245 of file ftimage.h.

◆ FT_Raster_Reset_Func

#define FT_Raster_Reset_Func   FT_Raster_ResetFunc

Definition at line 1180 of file ftimage.h.

◆ FT_Raster_Set_Mode_Func

#define FT_Raster_Set_Mode_Func   FT_Raster_SetModeFunc

Definition at line 1208 of file ftimage.h.

◆ FT_Raster_Span_Func

#define FT_Raster_Span_Func   FT_SpanFunc

Definition at line 926 of file ftimage.h.

Typedef Documentation

◆ FT_Outline_ConicToFunc

typedef int(*) FT_Outline_ConicToFunc(const FT_Vector *control, const FT_Vector *to, void *user)

Definition at line 589 of file ftimage.h.

◆ FT_Outline_CubicToFunc

typedef int(*) FT_Outline_CubicToFunc(const FT_Vector *control1, const FT_Vector *control2, const FT_Vector *to, void *user)

Definition at line 625 of file ftimage.h.

◆ FT_Outline_LineToFunc

typedef int(*) FT_Outline_LineToFunc(const FT_Vector *to, void *user)

Definition at line 555 of file ftimage.h.

◆ FT_Outline_MoveToFunc

typedef int(*) FT_Outline_MoveToFunc(const FT_Vector *to, void *user)

Definition at line 526 of file ftimage.h.

◆ FT_Raster

typedef struct FT_RasterRec_* FT_Raster

Definition at line 1093 of file ftimage.h.

◆ FT_Raster_BitSet_Func

typedef void(*) FT_Raster_BitSet_Func(int y, int x, void *user)

Definition at line 951 of file ftimage.h.

◆ FT_Raster_BitTest_Func

typedef int(*) FT_Raster_BitTest_Func(int y, int x, void *user)

Definition at line 937 of file ftimage.h.

◆ FT_Raster_DoneFunc

typedef void(*) FT_Raster_DoneFunc(FT_Raster raster)

Definition at line 1141 of file ftimage.h.

◆ FT_Raster_NewFunc

typedef int(*) FT_Raster_NewFunc(void *memory, FT_Raster *raster)

Definition at line 1122 of file ftimage.h.

◆ FT_Raster_RenderFunc

typedef int(*) FT_Raster_RenderFunc(FT_Raster raster, const FT_Raster_Params *params)

Definition at line 1241 of file ftimage.h.

◆ FT_Raster_ResetFunc

typedef void(*) FT_Raster_ResetFunc(FT_Raster raster, unsigned char *pool_base, unsigned long pool_size)

Definition at line 1175 of file ftimage.h.

◆ FT_Raster_SetModeFunc

typedef int(*) FT_Raster_SetModeFunc(FT_Raster raster, unsigned long mode, void *args)

Definition at line 1203 of file ftimage.h.

◆ FT_SpanFunc

typedef void(*) FT_SpanFunc(int y, int count, const FT_Span *spans, void *user)

Definition at line 920 of file ftimage.h.

Enumeration Type Documentation

◆ FT_Glyph_Format_

enum FT_Glyph_Format_

Definition at line 768 of file ftimage.h.

◆ FT_Pixel_Mode_

enum FT_Pixel_Mode_

Definition at line 184 of file ftimage.h.

Variable Documentation

◆ FT_Pos

FT_BEGIN_HEADER typedef signed long FT_Pos

Definition at line 61 of file ftimage.h.