Typedefs | |
typedef Byte | D4D_FONT_PROPERTIES |
typedef Byte | D4D_FONT_PACK |
typedef Byte | D4D_FONT_FLAGS |
typedef Byte | D4D_FONT_IX |
typedef Byte | D4D_FONT_REV |
typedef Word | D4D_FONT_OFFSET |
typedef Byte | D4D_FONT_DATA |
typedef Byte | D4D_FONT |
typedef Byte | D4D_FONT_SIZE |
typedef Word | D4D_FONT_DSIZE |
typedef struct D4D_FONT_DESCRIPTOR_S | D4D_FONT_DESCRIPTOR |
Functions | |
void | D4D_SetFontTable (D4D_FONT_TYPE *pFontTable) |
D4D_FONT_TYPE * | D4D_GetFontTable (void) |
D4D_FONT_TYPE * | D4D_GetFont (D4D_FONT ix) |
D4D_FONT_SIZES | D4D_GetFontSize (D4D_FONT ix) |
D4D_FONT_SIZE | D4D_GetFontHeight (D4D_FONT ix) |
D4D_FONT_SIZE | D4D_GetFontWidth (D4D_FONT ix) |
D4D_FONT_SIZE | D4D_GetCharWidth (D4D_FONT ix, D4D_TCHAR ch) |
D4D_TCHAR | D4D_GetChar (D4D_FONT_TYPE *pFontType, D4D_FONT_IX ix) |
D4D_COOR | D4D_GetNextTab (D4D_TAB *pTab, D4D_COOR pos) |
Variables | |
const D4D_FONT_TYPE | d4d_FontTable [] |
#define D4D_DECLARE_FONT | ( | fontId, | |
font_descriptor, | |||
xScale, | |||
yScale, | |||
charSpace, | |||
lineSpace | |||
) |
Definition at line 240 of file d4d_font.h.
#define D4D_DECLARE_FONT_FILE | ( | fontId, | |
fileName, | |||
xScale, | |||
yScale, | |||
charSpace, | |||
lineSpace | |||
) |
Definition at line 243 of file d4d_font.h.
#define D4D_DECLARE_FONT_TABLE_BEGIN |
Definition at line 236 of file d4d_font.h.
#define D4D_DECLARE_FONT_TABLE_END |
Definition at line 247 of file d4d_font.h.
#define D4D_DECLARE_USR_FONT_TABLE_BEGIN | ( | name | ) |
Definition at line 234 of file d4d_font.h.
#define D4D_FONT_FLAGS_FNT_WIDTH |
Definition at line 152 of file d4d_font.h.
#define D4D_FONT_FLAGS_FNT_WIDTH_MONOSPACE |
Definition at line 153 of file d4d_font.h.
#define D4D_FONT_FLAGS_FNT_WIDTH_PROPORTIONAL |
Definition at line 154 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_STYLE |
Definition at line 144 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_STYLE_LINEAR |
Definition at line 145 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_STYLE_NONLINEAR |
Definition at line 146 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_TYPE |
Definition at line 148 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_TYPE_LOOKUP |
Definition at line 149 of file d4d_font.h.
#define D4D_FONT_FLAGS_IX_TYPE_MAP |
Definition at line 150 of file d4d_font.h.
#define D4D_FONT_PACK_BITORDER |
Definition at line 123 of file d4d_font.h.
#define D4D_FONT_PACK_BITORDER_BIGEND |
Definition at line 124 of file d4d_font.h.
#define D4D_FONT_PACK_BITORDER_LITTLEEND |
Definition at line 125 of file d4d_font.h.
#define D4D_FONT_PACK_COMPRESSED |
Definition at line 135 of file d4d_font.h.
#define D4D_FONT_PACK_COMPRESSED_OFF |
Definition at line 136 of file d4d_font.h.
#define D4D_FONT_PACK_COMPRESSED_ON |
Definition at line 137 of file d4d_font.h.
#define D4D_FONT_PACK_DATA_LEN |
Definition at line 139 of file d4d_font.h.
#define D4D_FONT_PACK_DATA_LEN_16B |
Definition at line 141 of file d4d_font.h.
#define D4D_FONT_PACK_DATA_LEN_32B |
Definition at line 142 of file d4d_font.h.
#define D4D_FONT_PACK_DATA_LEN_8B |
Definition at line 140 of file d4d_font.h.
#define D4D_FONT_PACK_SCANBASED |
Definition at line 127 of file d4d_font.h.
#define D4D_FONT_PACK_SCANBASED_COLUMN |
Definition at line 129 of file d4d_font.h.
#define D4D_FONT_PACK_SCANBASED_ROW |
Definition at line 128 of file d4d_font.h.
#define D4D_FONT_PACK_SCANPREFERRED |
Definition at line 131 of file d4d_font.h.
#define D4D_FONT_PACK_SCANPREFERRED_COLUMN |
Definition at line 133 of file d4d_font.h.
#define D4D_FONT_PACK_SCANPREFERRED_ROW |
Definition at line 132 of file d4d_font.h.
Definition at line 171 of file d4d_font.h.
typedef Byte D4D_FONT_DATA |
Definition at line 170 of file d4d_font.h.
typedef struct D4D_FONT_DESCRIPTOR_S D4D_FONT_DESCRIPTOR |
typedef Word D4D_FONT_DSIZE |
Definition at line 175 of file d4d_font.h.
typedef Byte D4D_FONT_FLAGS |
Definition at line 159 of file d4d_font.h.
typedef Byte D4D_FONT_IX |
Definition at line 165 of file d4d_font.h.
typedef Word D4D_FONT_OFFSET |
Definition at line 169 of file d4d_font.h.
typedef Byte D4D_FONT_PACK |
Definition at line 158 of file d4d_font.h.
typedef Byte D4D_FONT_REV |
Definition at line 166 of file d4d_font.h.
typedef Byte D4D_FONT_SIZE |
Definition at line 174 of file d4d_font.h.
D4D_TCHAR D4D_GetChar | ( | D4D_FONT_TYPE * | pFontType, |
D4D_FONT_IX | ix | ||
) |
D4D_FONT_SIZE D4D_GetCharWidth | ( | D4D_FONT | ix, |
D4D_TCHAR | ch | ||
) |
Get selected font width information
Definition at line 415 of file d4d_font.c.
D4D_FONT_TYPE* D4D_GetFont | ( | D4D_FONT | ix | ) |
Get selected font information
Definition at line 340 of file d4d_font.c.
D4D_FONT_SIZE D4D_GetFontHeight | ( | D4D_FONT | ix | ) |
Get selected font height information
Definition at line 381 of file d4d_font.c.
D4D_FONT_SIZES D4D_GetFontSize | ( | D4D_FONT | ix | ) |
Get selected font size information
Definition at line 365 of file d4d_font.c.
D4D_FONT_TYPE* D4D_GetFontTable | ( | void | ) |
Definition at line 330 of file d4d_font.c.
D4D_FONT_SIZE D4D_GetFontWidth | ( | D4D_FONT | ix | ) |
Get selected font width information
Definition at line 398 of file d4d_font.c.
void D4D_SetFontTable | ( | D4D_FONT_TYPE * | pFontTable | ) |
Change the Font Table
Definition at line 314 of file d4d_font.c.
const D4D_FONT_TYPE d4d_FontTable[] |