LuaBox
Loading...
Searching...
No Matches
DisplayCircleFilled.h
Go to the documentation of this file.
1#pragma once
2
3#include "lua_include.h"
4#include "global.h"
5
22int DisplayCircleFilled(lua_State* L_)
23{
24 int x = luaL_checkinteger(L_, 1);
25 int y = luaL_checkinteger(L_, 2);
26 int r = luaL_checkinteger(L_, 3);
27 int c = luaL_checkinteger(L_, 4);
28
29 sprite.fillCircle(x, y, r, c);
30
31 return 0;
32}
int DisplayCircleFilled(lua_State *L_)
Draw a filled circle on the sprite buffer.
Definition DisplayCircleFilled.h:22