fogleman / gg

Go Graphics - 2D rendering in Go with a simple API.
https://godoc.org/github.com/fogleman/gg
MIT License
4.34k stars 352 forks source link

Anchoring for more primatives #158

Closed ca-123321 closed 2 years ago

ca-123321 commented 2 years ago

I am having a problem where rotating is not aligning as expected (want: circles aligned on symmetry axes) and I think it could be fixed by anchoring my circles in the way that some other functions have anchoring. (I could also be a bad programmer) 1642550129 out

ca-123321 commented 2 years ago

Defined the circles by using math.Sin and math.Cos instead and got desired behavior