Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
module main
|
||||
|
||||
import gg
|
||||
|
||||
gg.start(
|
||||
width: 300
|
||||
height: 300
|
||||
window_title: 'Circles'
|
||||
frame_fn: fn (mut ctx gg.Context) {
|
||||
ctx.begin()
|
||||
ctx.draw_circle_empty(150, 150, 80, gg.blue)
|
||||
ctx.draw_circle_filled(150, 150, 40, gg.yellow)
|
||||
ctx.draw_circle_line(150, 150, 80, 6, gg.red)
|
||||
ctx.draw_circle_line(150, 150, 120, 6, gg.green)
|
||||
ctx.draw_circle_line(150, 150, 150, 8, gg.white)
|
||||
ctx.end()
|
||||
}
|
||||
)
|
||||
Reference in new issue
Block a user