EU1KY AA
font.h File Reference
#include <stdint.h>
#include "LCD.h"

Go to the source code of this file.

Enumerations

enum  FONTS { FONT_FRAN, FONT_FRANBIG, FONT_CONSBIG, FONT_SDIGITS }
 

Functions

int FONT_Write (FONTS fnt, LCDColor fg, LCDColor bg, uint16_t x, uint16_t y, const char *pStr)
 
int FONT_Write_N (FONTS fnt, LCDColor fg, LCDColor bg, uint16_t x, uint16_t y, const char *pStr, int nChars)
 
int FONT_Print (FONTS fnt, LCDColor fg, LCDColor bg, uint16_t x, uint16_t y, const char *fmt,...)
 
void FONT_SetAttributes (FONTS fnt, LCDColor fg, LCDColor bg)
 
int FONT_Printf (uint16_t x, uint16_t y, const char *fmt,...)
 
int FONT_GetStrPixelWidth (FONTS fnt, const char *pStr)
 
void FONT_ClearLine (FONTS fnt, LCDColor bg, uint16_t y0)
 
void FONT_ClearHalfLine (FONTS fnt, LCDColor bg, uint16_t y0)
 
uint16_t FONT_GetHeight (FONTS fnt)
 

Enumeration Type Documentation

enum FONTS
Enumerator
FONT_FRAN 
FONT_FRANBIG 
FONT_CONSBIG 
FONT_SDIGITS 

Function Documentation

void FONT_ClearHalfLine ( FONTS  fnt,
LCDColor  bg,
uint16_t  y0 
)
void FONT_ClearLine ( FONTS  fnt,
LCDColor  bg,
uint16_t  y0 
)
uint16_t FONT_GetHeight ( FONTS  fnt)
int FONT_GetStrPixelWidth ( FONTS  fnt,
const char *  pStr 
)
int FONT_Print ( FONTS  fnt,
LCDColor  fg,
LCDColor  bg,
uint16_t  x,
uint16_t  y,
const char *  fmt,
  ... 
)
int FONT_Printf ( uint16_t  x,
uint16_t  y,
const char *  fmt,
  ... 
)
void FONT_SetAttributes ( FONTS  fnt,
LCDColor  fg,
LCDColor  bg 
)
int FONT_Write ( FONTS  fnt,
LCDColor  fg,
LCDColor  bg,
uint16_t  x,
uint16_t  y,
const char *  pStr 
)
int FONT_Write_N ( FONTS  fnt,
LCDColor  fg,
LCDColor  bg,
uint16_t  x,
uint16_t  y,
const char *  pStr,
int  nChars 
)