20 int x1 = luaL_checkinteger(L_, 1);
21 int y1 = luaL_checkinteger(L_, 2);
22 int x2 = luaL_checkinteger(L_, 3);
23 int y2 = luaL_checkinteger(L_, 4);
24 int c = luaL_checkinteger(L_, 5);
26 sprite.drawLine(x1, y1, x2, y2, c);
int DisplayLine(lua_State *L_)
Draw a line on the sprite buffer.
Definition DisplayLine.h:18