![]() |
Lua Player Plus Vita
Documentation of lpp-vita
|
Public Member Functions | |
int | load (string filename) |
Load a .ttf/.pgf/.pvf/.woff/.pfa/.pfb/.fnt/.bdf font file. More... | |
void | unload (int font) |
Unload a loaded font. More... | |
void | setPixelSizes (int font, int size) |
Set font size for drawing. More... | |
int | getTextWidth (int font, string text) |
Calculate width for a given text and a given font. More... | |
int | getTextHeight (int font, string text) |
Calculate height for a given text and a given font. More... | |
void | print (int font, number x, number y, string text, int color) |
Print a text on screen using a font. More... | |