ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
fontx_t Struct Reference

#include <font.h>

Data Fields

char name [9]
 
char bold
 
char w_margin
 
char h_margin
 
int rowsize
 
int charsize
 
int offset
 
char * font
 

Detailed Description

Definition at line 16 of file font.h.

Field Documentation

◆ bold

char fontx_t::bold

Enable/Disable bold effect

Definition at line 20 of file font.h.

Referenced by draw_fontx_char(), and fontx_load().

◆ charsize

int fontx_t::charsize

Size in bytes of each character

Definition at line 28 of file font.h.

Referenced by fontx_get_char(), and fontx_load().

◆ font

◆ h_margin

char fontx_t::h_margin

Margin height between lines

Definition at line 24 of file font.h.

Referenced by fontx_load(), fontx_print_ascii(), and fontx_print_sjis().

◆ name

char fontx_t::name[9]

Name of font

Definition at line 18 of file font.h.

Referenced by fontx_load().

◆ offset

int fontx_t::offset

Offset from beginning of font to character

Definition at line 30 of file font.h.

Referenced by fontx_get_char(), and fontx_load().

◆ rowsize

int fontx_t::rowsize

Size in byte of each row

Definition at line 26 of file font.h.

Referenced by draw_fontx_char(), and fontx_load().

◆ w_margin

char fontx_t::w_margin

Margin width between characters

Definition at line 22 of file font.h.

Referenced by fontx_load(), fontx_print_ascii(), and fontx_print_sjis().


The documentation for this struct was generated from the following file: