Fix Getting Started example in README.md.

SaveToPngFile is now in draw2dimg.
This commit is contained in:
Steven Edwards 2015-08-17 05:36:40 -04:00
parent b07a8ba2e0
commit a238a47879

View file

@ -46,7 +46,7 @@ gc.Close()
gc.FillStroke() gc.FillStroke()
// Save to file // 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: The same Go code can also generate a pdf document with package draw2dpdf: