Fix Getting Started example in README.md.
SaveToPngFile is now in draw2dimg.
This commit is contained in:
parent
b07a8ba2e0
commit
a238a47879
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue