added ag::drawLine()
git-svn-id: svn://anubis/anaglym/trunk@183 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
42762f4f3c
commit
27c0d4f7b9
5 files changed
+54
-4
No files matched your search
+6
-4
@@ -52,7 +52,9 @@ function key_down_event(key)
|
||||
end
|
||||
end
|
||||
|
||||
--function update_overlay_event(width, height)
|
||||
-- local tw, th = ag.getTextSize("Hi there", 18)
|
||||
-- ag.drawText("Hi there", 1, 1, 1, 18, width - tw - 4, height - th - 4)
|
||||
--end
|
||||
function update_overlay_event(width, height)
|
||||
local tw, th = ag.getTextSize("Hi there", 18)
|
||||
ag.drawText("Hi there", 1, 1, 1, 18, width - tw - 4, height - th - 4)
|
||||
ag.drawLine(1, 0, 0.3, 10, 10, 40, 60)
|
||||
ag.drawLine(1, 0.7, 1, 50, 10, 100, 60, 5)
|
||||
end
|
||||
Reference in new issue
Block a user