WebRadioApp  0.1
ewextfnt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  XFntGlyphRes
 
struct  XFntRes
 

Macros

#define EW_MAGIC_NO_FONT   0x666E7464
 
#define EW_FONT_PIXEL_PRAGMA
 
#define EW_DECLARE_FONT_RES(aName)   extern const XVariant aName;
 
#define EW_DEFINE_FONT_RES(aName, aAscent, aDescent, aLeading, aNoOfColors, aDefChar, aNoOfGlyphs)
 
#define EW_GLYPH(aCode, aOriginX, aOriginY, aWidth, aHeight, aAdvance, aPixel)
 
#define EW_FONT_PIXEL(aName, aSize)
 
#define EW_FONT_KERNING_CODES(aName)
 
#define EW_FONT_KERNING_VALUES(aName)
 
#define EW_END_OF_FONT_RES(aName)
 

Typedefs

typedef struct XFntRes XFntRes
 

Macro Definition Documentation

◆ EW_DECLARE_FONT_RES

#define EW_DECLARE_FONT_RES (   aName)    extern const XVariant aName;

◆ EW_DEFINE_FONT_RES

#define EW_DEFINE_FONT_RES (   aName,
  aAscent,
  aDescent,
  aLeading,
  aNoOfColors,
  aDefChar,
  aNoOfGlyphs 
)
Value:
extern const unsigned int ____##aName[]; \
extern const XFntGlyphRes ___##aName[]; \
extern const unsigned int _kc_##aName[]; \
extern const unsigned char _kv_##aName[]; \
static const XFntRes __##aName = { \
EW_MAGIC_NO_FONT, aAscent, aDescent, aLeading, \
aNoOfColors, aNoOfGlyphs, ___##aName, ____##aName, \
_kc_##aName, _kv_##aName, aDefChar, #aName}; \
const XFntGlyphRes ___##aName[] = {

◆ EW_END_OF_FONT_RES

#define EW_END_OF_FONT_RES (   aName)
Value:
0 \
} \
; \
static const XResource _##aName[] = {{Default, &__##aName}};

◆ EW_FONT_KERNING_CODES

#define EW_FONT_KERNING_CODES (   aName)
Value:
} \
; \
const unsigned int _kc_##aName[] = {

◆ EW_FONT_KERNING_VALUES

#define EW_FONT_KERNING_VALUES (   aName)
Value:
0 \
} \
; \
const unsigned char _kv_##aName[] = {

◆ EW_FONT_PIXEL

#define EW_FONT_PIXEL (   aName,
  aSize 
)
Value:
{ \
0, 0, 0, 0, 0, 0, aSize \
} \
} \
; \
EW_FONT_PIXEL_PRAGMA const unsigned int ____##aName[] = {

◆ EW_FONT_PIXEL_PRAGMA

#define EW_FONT_PIXEL_PRAGMA

◆ EW_GLYPH

#define EW_GLYPH (   aCode,
  aOriginX,
  aOriginY,
  aWidth,
  aHeight,
  aAdvance,
  aPixel 
)
Value:
{ \
aCode, aOriginX, aOriginY, aWidth, aHeight, aAdvance, aPixel \
}

◆ EW_MAGIC_NO_FONT

#define EW_MAGIC_NO_FONT   0x666E7464

Typedef Documentation

◆ XFntRes

typedef struct XFntRes XFntRes
XResource
Definition: ewrte.h:1848
XFntGlyphRes
Definition: ewextfnt.h:85
XFntRes
Definition: ewextfnt.h:126
Default
@ Default
Definition: ewlocale.h:61