LuaBox
Loading...
Searching...
No Matches
DisplayLineH.h File Reference
#include "lua_include.h"
#include "global.h"

Go to the source code of this file.

Functions

int DisplayLineH (lua_State *L_)
 Draw a horizontal line on the sprite buffer.

Function Documentation

◆ DisplayLineH()

int DisplayLineH ( lua_State * L_)

Draw a horizontal line on the sprite buffer.

Parameters
L_Lua state; expects arguments: 1: x (start X), 2: y (Y coordinate), 3: w (width), 4: color (16-bit RGB565).
Returns
int Pushes no values to Lua stack.
Note
The sprite uses 16-bit RGB565 color format.