fogleman / gg

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

Changes default LineCap style to LineCapButt for correct Circle/Ellipse drawing #193

Closed setanarut closed 1 year ago

setanarut commented 1 year ago

fix for #191 Changes the default style to LineCapButt. This is a workaround, if SetLineCapRound() is set the Circle will be drawn incorrectly. This style must belong to Circle/Ellipse.