Merge pull request #73 from stephenwithav/fiximageexample
Fix Getting Started example in README.md.
This commit is contained in:
commit
755362132b
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
-
|
||||
-
|
||||
|
|
Loading…
Reference in a new issue