Exemple #1
0
func DrawCircle(gc *draw2d.ImageGraphicContext, x, y float64) {
	gc.ArcTo(x, y, 3, 3, 0, 2*math.Pi)
	gc.SetFillColor(color.RGBA{255, 0, 0, 255})
	gc.FillStroke()
}