From d4efe601928b2746132ab106e7c22f46585b43e2 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Fri, 19 Feb 2016 13:18:08 -0500 Subject: [PATCH] remove old example --- examples/example0.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 examples/example0.go diff --git a/examples/example0.go b/examples/example0.go deleted file mode 100644 index 646564e..0000000 --- a/examples/example0.go +++ /dev/null @@ -1,20 +0,0 @@ -package main - -import "github.com/fogleman/gg" - -func main() { - dc := gg.NewContext(256, 256) - dc.SetRGBA(1, 0, 0, 0.3) - dc.Clear() - dc.MoveTo(20, 20) - dc.LineTo(236, 236) - dc.LineTo(236, 128) - dc.LineTo(20, 128) - dc.QuadraticTo(0, 64, 120, 20) - dc.SetRGBA(1, 0, 0, 0.8) - dc.FillPreserve() - dc.SetRGB(0, 0, 0) - dc.SetLineWidth(8) - dc.Stroke() - dc.WritePNG("out.png") -}