From a238a47879c42ad1b25062c1a55373978aea175e Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Mon, 17 Aug 2015 05:36:40 -0400 Subject: [PATCH] Fix Getting Started example in README.md. SaveToPngFile is now in draw2dimg. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 21c2d94..8fd04dd 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ gc.Close() gc.FillStroke() // Save to file -draw2d.SaveToPngFile("hello.png", dest) +draw2dimg.SaveToPngFile("hello.png", dest) ``` The same Go code can also generate a pdf document with package draw2dpdf: @@ -111,4 +111,4 @@ References - [antigrain.com](http://www.antigrain.com) - [freetype-go](http://code.google.com/p/freetype-go) - - + -