test: updated comments

Change-Id: I92fccb5a9de088f837a768a2f1d60ac94eac9410
This commit is contained in:
Hermet Park 2020-04-30 23:40:35 +09:00
parent 700a44c623
commit 14efeb4f0b

View file

@ -16,7 +16,7 @@ void tvgtest()
//Create a Canvas //Create a Canvas
auto canvas = tvg::SwCanvas::gen(buffer, WIDTH, HEIGHT); 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(); auto shape1 = tvg::ShapeNode::gen();
shape1->appendRect(0, 0, 200, 200, 0); //x, y, w, h, cornerRadius shape1->appendRect(0, 0, 200, 200, 0); //x, y, w, h, cornerRadius
shape1->appendRect(100, 100, 300, 300, 100); //x, y, w, h, cornerRadius shape1->appendRect(100, 100, 300, 300, 100); //x, y, w, h, cornerRadius