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

Go to the source code of this file.

Functions

static int native_text_mock (lua_State *L)
 
static int native_text_print (lua_State *L)
 
static int native_text_mensure (lua_State *L)
 
static int native_text_font_size (lua_State *L)
 
static int native_text_font_previous (lua_State *L)
 
void text_library_install (lua_State *L)
 

Variables

static uint8_t previous_font_size = 5
 
static uint8_t font_size = 5
 

Function Documentation

◆ native_text_font_previous()

static int native_text_font_previous ( lua_State * L)
static

Definition at line 55 of file text.c.

◆ native_text_font_size()

static int native_text_font_size ( lua_State * L)
static
Parameters
[in]sizeint

Definition at line 44 of file text.c.

◆ native_text_mensure()

static int native_text_mensure ( lua_State * L)
static
Parameters
[in]messagestring
Return values
widthdouble
heightdouble

Definition at line 33 of file text.c.

◆ native_text_mock()

static int native_text_mock ( lua_State * L)
static

Definition at line 7 of file text.c.

◆ native_text_print()

static int native_text_print ( lua_State * L)
static
Parameters
[in]xdouble
[in]ydouble
[in]messagestring

Definition at line 18 of file text.c.

Here is the call graph for this function:

◆ text_library_install()

void text_library_install ( lua_State * L)

Definition at line 62 of file text.c.

Here is the call graph for this function:

Variable Documentation

◆ font_size

uint8_t font_size = 5
static

Definition at line 5 of file text.c.

◆ previous_font_size

uint8_t previous_font_size = 5
static

Definition at line 4 of file text.c.