|
LuaBox
|
#include "lua_include.h"#include "global.h"Go to the source code of this file.
Functions | |
| int | DisplayPrint (lua_State *L_) |
| Print a text string on the sprite buffer with optional scaling. | |
| int DisplayPrint | ( | lua_State * | L_ | ) |
Print a text string on the sprite buffer with optional scaling.
This function prints a text string on the sprite buffer using the specified color and coordinates. An optional text size can be provided to scale the text.
| L_ | Lua state; expects arguments in order: 1: text string 2: x (X coordinate) 3: y (Y coordinate) 4: color (16-bit RGB565 for the text) 5: text size (optional, default 1) |