example: correct clipper usage.

it has been changed by 0de3872be3
This commit is contained in:
Hermet Park 2023-01-22 09:55:10 +09:00
parent 8dd5a3ade1
commit 8175f8dd2a

View file

@ -61,7 +61,6 @@ void tvgDrawCmds(tvg::Canvas* canvas)
auto circle = tvg::Shape::gen();
circle->appendCircle(350, 350, 200,200);
circle->fill(255, 255, 255, 255);
picture2->composite(move(circle), tvg::CompositeMethod::ClipPath);