A description on a git compatible jj-vcs workflow.

add Circle function #2

open opened by voigt.tngl.sh targeting main from add_rectangle
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:6q572hlx7omtsszji5w2fyw3/sh.tangled.repo.pull/3mccqlnvfpe22
+15 -2
Diff #0
+15 -2
main.go
··· 13 13 14 14 func render() { 15 15 firefly.ClearScreen(firefly.ColorWhite) 16 - 17 16 addCircle() 17 + addRectangle() 18 18 } 19 19 20 20 // adding a circle 21 21 func addCircle() { 22 22 firefly.DrawCircle( 23 - firefly.Point{X: 60, Y: 10}, 23 + firefly.Point{X: 60, Y: 10}, 24 24 30, 25 + firefly.Style{ 26 + FillColor: firefly.ColorDarkBlue, 27 + StrokeColor: firefly.ColorBlue, 28 + StrokeWidth: 1, 29 + }, 30 + ) 31 + } 32 + 33 + // beautiful comment 34 + func addRectangle() { 35 + firefly.DrawRect( 36 + firefly.Point{X: 120, Y: 10}, 37 + firefly.Size{W: 40, H: 40}, 25 38 firefly.Style{ 26 39 FillColor: firefly.ColorDarkBlue, 27 40 StrokeColor: firefly.ColorBlue,

History

1 round 0 comments
sign up or login to add to the discussion
voigt.tngl.sh submitted #0
5 commits
expand
add Circle function
remove triangle
cleanup
remove triangle
add rectangle function
merge conflicts detected
expand
  • main.go:18
expand 0 comments