LMMS
Loading...
Searching...
No Matches
lice_text.cpp File Reference
#include "lice.h"
#include "lice_combine.h"

Macros

#define LICE_FONT_HEIGHT   8
#define __LICE__ACTION(comb)

Functions

void LICE_DrawChar (LICE_IBitmap *bm, int x, int y, char c, LICE_pixel color, float alpha, int mode)
void LICE_DrawText (LICE_IBitmap *bm, int x, int y, const char *string, LICE_pixel color, float alpha, int mode)
void LICE_MeasureText (const char *string, int *w, int *h)

Variables

static unsigned char LICE_deffont [127 *LICE_FONT_HEIGHT]

Macro Definition Documentation

◆ __LICE__ACTION

#define __LICE__ACTION ( comb)
Value:
comb::doPix((LICE_pixel_chan *)outmem, red,green,blue,alp,ialpha)
unsigned char LICE_pixel_chan
Definition lice.h:55
png_structrp int png_fixed_point red
Definition png.h:1083

◆ LICE_FONT_HEIGHT

#define LICE_FONT_HEIGHT   8

Function Documentation

◆ LICE_DrawChar()

void LICE_DrawChar ( LICE_IBitmap * bm,
int x,
int y,
char c,
LICE_pixel color,
float alpha,
int mode )

◆ LICE_DrawText()

void LICE_DrawText ( LICE_IBitmap * bm,
int x,
int y,
const char * string,
LICE_pixel color,
float alpha,
int mode )

◆ LICE_MeasureText()

void LICE_MeasureText ( const char * string,
int * w,
int * h )

Variable Documentation

◆ LICE_deffont

unsigned char LICE_deffont[127 *LICE_FONT_HEIGHT]
static