diff --git a/examples/circle.go b/examples/circle.go index 3e17a09..3fa0a79 100644 --- a/examples/circle.go +++ b/examples/circle.go @@ -4,13 +4,9 @@ import "github.com/fogleman/gg" func main() { dc := gg.NewContext(1000, 1000) - dc.SetRGB(1, 1, 1) - dc.Clear() dc.DrawCircle(500, 500, 400) - dc.SetRGBA(0, 0, 0, 0.25) - dc.FillPreserve() - dc.SetRGB(0, 0, 0.5) - dc.SetLineWidth(8) + dc.SetRGB(0, 0, 0) + dc.SetLineWidth(10) dc.Stroke() dc.WritePNG("out.png") }