summaryrefslogtreecommitdiff
path: root/vendor/github.com/fogleman/gg/examples/circle.go
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2016-11-21 15:56:46 +0000
committerFelix Hanley <felix@userspace.com.au>2016-11-21 15:56:46 +0000
commit411565dc3c87851017376545383d4afa65d9f833 (patch)
tree44733ff8242c193a95115b27f9e4e88ad3eadde1 /vendor/github.com/fogleman/gg/examples/circle.go
parent98da73fe927ee67b62c1f286b0adb649a20c373c (diff)
downloadcrjw-maps-411565dc3c87851017376545383d4afa65d9f833.tar.gz
crjw-maps-411565dc3c87851017376545383d4afa65d9f833.tar.bz2
Add vendor code
Diffstat (limited to 'vendor/github.com/fogleman/gg/examples/circle.go')
-rw-r--r--vendor/github.com/fogleman/gg/examples/circle.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/fogleman/gg/examples/circle.go b/vendor/github.com/fogleman/gg/examples/circle.go
new file mode 100644
index 0000000..5debf66
--- /dev/null
+++ b/vendor/github.com/fogleman/gg/examples/circle.go
@@ -0,0 +1,11 @@
+package main
+
+import "github.com/fogleman/gg"
+
+func main() {
+ dc := gg.NewContext(1000, 1000)
+ dc.DrawCircle(500, 500, 400)
+ dc.SetRGB(0, 0, 0)
+ dc.Fill()
+ dc.SavePNG("out.png")
+}