summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/include_lua/draw_poly.lua
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2019-08-20 00:50:09 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2019-08-20 01:58:16 -0500
commitecfb4590ad498a72f4a0f6d60a7be92b25cd293c (patch)
treeda2a72e111f4d031e7ecd238a09547367cf79435 /apps/plugins/lua/include_lua/draw_poly.lua
parent8b7ae89b43ef4c96b55671759869397676ee9e05 (diff)
downloadrockbox-ecfb4590ad498a72f4a0f6d60a7be92b25cd293c.tar.gz
rockbox-ecfb4590ad498a72f4a0f6d60a7be92b25cd293c.tar.bz2
rockbox-ecfb4590ad498a72f4a0f6d60a7be92b25cd293c.zip
lua fix polydraw missing functions
Change-Id: I9e2537e4839e2b4f9beddbc887610213ed954a87
Diffstat (limited to 'apps/plugins/lua/include_lua/draw_poly.lua')
-rw-r--r--apps/plugins/lua/include_lua/draw_poly.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/include_lua/draw_poly.lua b/apps/plugins/lua/include_lua/draw_poly.lua
index 0354a5fdfd..dc2783898a 100644
--- a/apps/plugins/lua/include_lua/draw_poly.lua
+++ b/apps/plugins/lua/include_lua/draw_poly.lua
@@ -35,8 +35,10 @@ local _poly = {} do
local _NIL = nil -- nil placeholder
local _abs = math.abs
+ local _clear = rocklib_image.clear
local _copy = rocklib_image.copy
local _line = rocklib_image.line
+ local _newimg = rb.new_image
local flood_fill = require("draw_floodfill")
-- draws a non-filled figure based on points in t-points