added ag::drawRect() and ag::fillRect()
git-svn-id: svn://anubis/anaglym/trunk@184 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
1 parent
27c0d4f7b9
commit
f410c305c2
5 files changed
+92
No files matched your search
@@ -57,4 +57,6 @@ function update_overlay_event(width, height)
|
||||
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)
|
||||
ag.drawRect(0, 1, 0, 40, 40, width / 2, height / 2)
|
||||
ag.fillRect(0, 0, 1, 20, 30, width / 2, height / 2)
|
||||
end
|
||||
Reference in new issue
Block a user