mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
Update README.md
This commit is contained in:
parent
46aa29781a
commit
e3b1cd86f9
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ The following code snippet shows how to draw SVG image using ThorVG:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
auto picture = tvg::Picture::gen(); //generate a picture
|
auto picture = tvg::Picture::gen(); //generate a picture
|
||||||
picture->load("tiger.svg"); //load SVG file
|
picture->load("tiger.svg"); //load a SVG file
|
||||||
canvas->push(move(picture)); //push the picture into the canvas
|
canvas->push(move(picture)); //push the picture into the canvas
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue