mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
test: updated comments
Change-Id: I92fccb5a9de088f837a768a2f1d60ac94eac9410
This commit is contained in:
parent
700a44c623
commit
14efeb4f0b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ void tvgtest()
|
|||
//Create a Canvas
|
||||
auto canvas = tvg::SwCanvas::gen(buffer, WIDTH, HEIGHT);
|
||||
|
||||
//Prepare a Shape (Rectangle + Rectangle + Circle)
|
||||
//Prepare a Shape (Rectangle + Rectangle + Circle + Circle)
|
||||
auto shape1 = tvg::ShapeNode::gen();
|
||||
shape1->appendRect(0, 0, 200, 200, 0); //x, y, w, h, cornerRadius
|
||||
shape1->appendRect(100, 100, 300, 300, 100); //x, y, w, h, cornerRadius
|
||||
|
|
Loading…
Add table
Reference in a new issue