eGUI alias D4D  Release 3.0
Reference Manual
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
d4d_font.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define D4D_FNT_EXTSRC_SUPPORT
 This macro is used to enable external fonts resource support. If not defined, the external font resource support is disabled as a default. More...
 
#define D4D_FNT_PRTY_UNDERLINE_MASK
 Font Underline property masks. More...
 
#define D4D_FNT_PRTY_UNDERLINE_NONE_MASK
 None Underline Text Property mask. More...
 
#define D4D_FNT_PRTY_UNDERLINE_LINE_MASK
 One Line Underline Text Property mask. More...
 
#define D4D_FNT_PRTY_UNDERLINE_DOT_MASK
 Dot Line Underline Text Property mask. More...
 
#define D4D_FNT_PRTY_UNDERLINE_RES_MASK
 Reserved - Underline Text Property mask. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_MASK
 Font Strike through property masks. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_NONE_MASK
 None Strike Through Text Property mask. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_SINGLE_MASK
 One Line Strike Through Text Property mask. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_DOUBLE_MASK
 Two Lines Strike Through Text Property mask. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_TRIPLE_MASK
 Three Lines Strike Through Text Property mask. More...
 
#define D4D_FNT_PRTY_STRIKETHROUGH_SHIFT
 Strike through property bits shift. More...
 
#define D4D_FNT_PRTY_TRANSPARENT_MASK
 
#define D4D_FNT_PRTY_TRANSPARENT_NO_MASK
 
#define D4D_FNT_PRTY_TRANSPARENT_YES_MASK
 
#define D4D_FONT_PACK_BITORDER
 
#define D4D_FONT_PACK_BITORDER_BIGEND
 
#define D4D_FONT_PACK_BITORDER_LITTLEEND
 
#define D4D_FONT_PACK_SCANBASED
 
#define D4D_FONT_PACK_SCANBASED_ROW
 
#define D4D_FONT_PACK_SCANBASED_COLUMN
 
#define D4D_FONT_PACK_SCANPREFERRED
 
#define D4D_FONT_PACK_SCANPREFERRED_ROW
 
#define D4D_FONT_PACK_SCANPREFERRED_COLUMN
 
#define D4D_FONT_PACK_COMPRESSED
 
#define D4D_FONT_PACK_COMPRESSED_OFF
 
#define D4D_FONT_PACK_COMPRESSED_ON
 
#define D4D_FONT_PACK_DATA_LEN
 
#define D4D_FONT_PACK_DATA_LEN_8B
 
#define D4D_FONT_PACK_DATA_LEN_16B
 
#define D4D_FONT_PACK_DATA_LEN_32B
 
#define D4D_FONT_FLAGS_IX_STYLE
 
#define D4D_FONT_FLAGS_IX_STYLE_LINEAR
 
#define D4D_FONT_FLAGS_IX_STYLE_NONLINEAR
 
#define D4D_FONT_FLAGS_IX_TYPE
 
#define D4D_FONT_FLAGS_IX_TYPE_LOOKUP
 
#define D4D_FONT_FLAGS_IX_TYPE_MAP
 
#define D4D_FONT_FLAGS_FNT_WIDTH
 
#define D4D_FONT_FLAGS_FNT_WIDTH_MONOSPACE
 
#define D4D_FONT_FLAGS_FNT_WIDTH_PROPORTIONAL
 
#define D4D_DECLARE_USR_FONT_TABLE_BEGIN(name)
 
#define D4D_DECLARE_FONT_TABLE_BEGIN
 
#define D4D_DECLARE_FONT(fontId, font_descriptor, xScale, yScale, charSpace, lineSpace)
 
#define D4D_DECLARE_FONT_FILE(fontId, fileName, xScale, yScale, charSpace, lineSpace)
 
#define D4D_DECLARE_FONT_TABLE_END
 

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_TYPED4D_GetFontTable (void)
 
D4D_FONT_TYPED4D_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 []
 

Detailed Description

D4D Driver fonts header file.

Author
Petr Gargulak
Version
0.0.35.0
Date
Oct-2-2013

Definition in file d4d_font.h.

Macro Definition Documentation

#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.

Typedef Documentation

typedef Byte D4D_FONT

Definition at line 171 of file d4d_font.h.

Definition at line 170 of file d4d_font.h.

Definition at line 175 of file d4d_font.h.

Definition at line 159 of file d4d_font.h.

typedef Byte D4D_FONT_IX

Definition at line 165 of file d4d_font.h.

Definition at line 169 of file d4d_font.h.

Definition at line 158 of file d4d_font.h.

typedef Byte D4D_FONT_REV

Definition at line 166 of file d4d_font.h.

Definition at line 174 of file d4d_font.h.

Function Documentation

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.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_FONT_TYPE* D4D_GetFont ( D4D_FONT  ix)

Get selected font information

Definition at line 340 of file d4d_font.c.

Here is the caller graph for this function:

D4D_FONT_SIZE D4D_GetFontHeight ( D4D_FONT  ix)

Get selected font height information

Definition at line 381 of file d4d_font.c.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_FONT_SIZES D4D_GetFontSize ( D4D_FONT  ix)

Get selected font size information

Definition at line 365 of file d4d_font.c.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Here is the caller graph for this function:

D4D_COOR D4D_GetNextTab ( D4D_TAB pTab,
D4D_COOR  pos 
)

Definition at line 618 of file d4d_font.c.

Here is the caller graph for this function:

void D4D_SetFontTable ( D4D_FONT_TYPE pFontTable)

Change the Font Table

Definition at line 314 of file d4d_font.c.

Variable Documentation

const D4D_FONT_TYPE d4d_FontTable[]