mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-07-25 09:07:01 +00:00
Initial proof of concept commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Bitmap
|
||||
def outline_rect(x, y, width, height, color, thickness = 1)
|
||||
fill_rect(x, y, width, thickness, color)
|
||||
fill_rect(x, y, thickness, height, color)
|
||||
fill_rect(x, y + height - thickness, width, thickness, color)
|
||||
fill_rect(x + width - thickness, y, thickness, height, color)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user