Initial project import
This commit is contained in:
commit
23f2d29e32
11957 files changed
+1754577
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
module main
|
||||
|
||||
import math
|
||||
import gg
|
||||
|
||||
gg.start(
|
||||
window_title: 'Arcs'
|
||||
width: 200
|
||||
height: 200
|
||||
frame_fn: fn (mut ctx gg.Context) {
|
||||
ctx.begin()
|
||||
ctx.draw_arc_filled(100, 100, 35, 45, 0, f32(math.radians(290)), 30, gg.red)
|
||||
ctx.draw_arc_empty(100, 100, 30, 50, 0, f32(math.radians(290)), 30, gg.white)
|
||||
ctx.end()
|
||||
}
|
||||
)
|
||||
Reference in new issue
Block a user