Core Native GBA 0.0.17
create your own game-engine with just lua for nitendo game boy advance console.
Loading...
Searching...
No Matches
draw.c File Reference
#include "zeebo.h"
Include dependency graph for draw.c:

Go to the source code of this file.

Functions

static int native_draw_start (lua_State *L)
 
static int native_draw_flush (lua_State *L)
 
static int native_draw_clear (lua_State *L)
 
static int native_draw_color (lua_State *L)
 
static int native_draw_rect (lua_State *L)
 
static int native_draw_line (lua_State *L)
 
static int native_draw_image (lua_State *L)
 
void draw_callback_update (lua_State *L, int callback)
 
void draw_library_install (lua_State *L)
 

Function Documentation

◆ draw_callback_update()

void draw_callback_update ( lua_State * L,
int callback )

Definition at line 98 of file draw.c.

◆ draw_library_install()

void draw_library_install ( lua_State * L)

Definition at line 104 of file draw.c.

Here is the call graph for this function:

◆ native_draw_clear()

static int native_draw_clear ( lua_State * L)
static
Parameters
[in]colorint

Definition at line 16 of file draw.c.

Here is the call graph for this function:

◆ native_draw_color()

static int native_draw_color ( lua_State * L)
static
Parameters
[in]colorint

Definition at line 28 of file draw.c.

Here is the call graph for this function:

◆ native_draw_flush()

static int native_draw_flush ( lua_State * L)
static

Definition at line 8 of file draw.c.

◆ native_draw_image()

static int native_draw_image ( lua_State * L)
static
Parameters
[in]sourcestring
[in]xdouble
[in]ydouble

Definition at line 88 of file draw.c.

Here is the call graph for this function:

◆ native_draw_line()

static int native_draw_line ( lua_State * L)
static
Parameters
[in]x1double
[in]y1double
[in]x2double
[in]y2double

Definition at line 67 of file draw.c.

Here is the call graph for this function:

◆ native_draw_rect()

static int native_draw_rect ( lua_State * L)
static
Parameters
[in]modeint
[in]xdouble
[in]ydouble
[in]widthdouble
[in]heightdouble

Definition at line 44 of file draw.c.

Here is the call graph for this function:

◆ native_draw_start()

static int native_draw_start ( lua_State * L)
static

Definition at line 3 of file draw.c.