-
-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
Description
It seems that only the SW engine has even/odd visual holes. Need to figure out and align the result among engines.
sw:
gl:
wg:
bool content(tvg::Canvas* canvas, uint32_t w, uint32_t h) override
{
//Prepare Round Rectangle
auto shape1 = tvg::Shape::gen();
shape1->moveTo(100, 100);
shape1->lineTo(120, 100);
shape1->lineTo(120, 120);
shape1->close();
shape1->fill(0, 255, 0);
shape1->strokeWidth(70);
shape1->strokeJoin(tvg::StrokeJoin::Round);
shape1->strokeFill(255, 255, 255);
tvg::Matrix m = {10, 0, -600, 0, 10, -500, 0, 0, 1};
shape1->transform(m);
canvas->push(shape1);
return true;
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status