![]() |
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. | |
| void | unload (int font) |
| Unload a loaded font. | |
| void | setPixelSizes (int font, int size) |
| Set font size for drawing. | |
| int | getTextWidth (int font, string text) |
| Calculate width for a given text and a given font. | |
| int | getTextHeight (int font, string text) |
| Calculate height for a given text and a given font. | |
| void | print (int font, number x, number y, string text, int color) |
| Print a text on screen using a font. | |