Tweaked example
This commit is contained in:
parent
cc921ddb29
commit
41720caef5
@ -26,8 +26,8 @@ func main () {
|
||||
eye = ggfx.Circle(12, 16, midpoint.Add(image.Pt(40, -30)))
|
||||
canvas.FillPolygon(black, eye...)
|
||||
|
||||
mouth := ggfx.Circle(16, 70, midpoint)
|
||||
canvas.StrokePolygon(black, 2, mouth[1:8]...)
|
||||
mouth := ggfx.Circle(24, 70, midpoint)
|
||||
canvas.PolyLine(black, 2, mouth[1:12]...)
|
||||
|
||||
file, err := os.Create("TEST.png")
|
||||
if err != nil { panic(err.Error()) }
|
||||
|
Loading…
Reference in New Issue
Block a user