From cef48beb1f9380adfc69b74099f77bfccfae443f Mon Sep 17 00:00:00 2001 From: Laurent Le Goff Date: Sun, 19 Apr 2015 23:20:44 +0200 Subject: [PATCH] remove sample cmd --- cmd/{testdraw2d.go => samples.go} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename cmd/{testdraw2d.go => samples.go} (99%) diff --git a/cmd/testdraw2d.go b/cmd/samples.go similarity index 99% rename from cmd/testdraw2d.go rename to cmd/samples.go index fa32abf..262d5e3 100644 --- a/cmd/testdraw2d.go +++ b/cmd/samples.go @@ -62,9 +62,9 @@ func saveToPngFile(TestName string, m image.Image) { } /* - + */ -func TestPath() { +func TestRectangle() { i, gc := initGc(w, h) gc.Translate(10, 10) gc.MoveTo(0.0, 0.0) @@ -73,7 +73,7 @@ func TestPath() { gc.LineTo(0.0, 100.0) gc.LineTo(0.0, 0.0) gc.FillStroke() - saveToPngFile("TestPath", i) + saveToPngFile("TestRectangle", i) } /*