# screen.c File Reference

## Functions
| tocolor (lua_State *L, int a)
* | toImage (lua_State *L, int arg)
static int | print (lua_State *L)
static int | startDraw (lua_State *L)
static int | endDraw (lua_State *L)
static int | flipscreen (lua_State *L)
static int | clear (lua_State *L)
static int | screen_transparent (lua_State *L)
static int | screen_toImage (lua_State *L)
static int | screen_waitVblankStart (lua_State *L)
static int | screen_alpha (lua_State *L)
static void | initscreen (void)
void | screen_init (lua_State *L)
## Variables
intraFont * | font
static const luaL_Reg | screen []

## Function Documentation

static int clear | ( | lua_State * | L | ) | `[static]`

static int endDraw | ( | lua_State * | L | ) | `[static]`

static int flipscreen | ( | lua_State * | L | ) | `[static]`

static void initscreen | ( | void |  | ) | `[static]`

static int print | ( | lua_State * | L | ) | `[static]`

static int screen_alpha | ( | lua_State * | L | ) | `[static]`

void screen_init | ( | lua_State * | L | ) |

static int screen_toImage | ( | lua_State * | L | ) | `[static]`

static int screen_transparent | ( | lua_State * | L | ) | `[static]`

static int screen_waitVblankStart | ( | lua_State * | L | ) | `[static]`

static int startDraw | ( | lua_State * | L | ) | `[static]`

tocolor | ( | lua_State * | L,
|  | int | a |
| ) |  |  |

* toImage | ( | lua_State * | L,
|  | int | arg |
| ) |  |  |

## Variable Documentation

intraFont* font

const luaL_Reg screen[]`[static]`

Initial value:

     {
      {"print",   print},
      {"startDraw",   startDraw},
      {"endDraw",   endDraw},
      {"flipscreen",   flipscreen},
      {"clear",   clear},
      {"waitVblankStart",   screen_waitVblankStart},
      {"toImage",   screen_toImage},
      {"transparentColor",  screen_transparent},
      {"setAlpha",  screen_alpha},
      {NULL, NULL}
    }