26 const char* t = luaL_checkstring(L_, 1);
27 int x = luaL_checkinteger(L_, 2);
28 int y = luaL_checkinteger(L_, 3);
29 int c = luaL_checkinteger(L_, 4);
32 if (lua_gettop(L_) >= 5)
33 size = luaL_checkinteger(L_, 5);
35 sprite.setTextColor(c);
36 sprite.setTextSize(size);
37 sprite.setCursor(x, y);
int DisplayPrint(lua_State *L_)
Print a text string on the sprite buffer with optional scaling.
Definition DisplayPrint.h:24