5REG_FIDDLE(Canvas_getLocalClipBounds, 256, 256,
true, 0) {
10 SkDebugf(
"left:%g top:%g right:%g bottom:%g\n",
11 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom);
12 SkPoint clipPoints[] = {{30, 130}, {120, 130}, {120, 230} };
14 clipPath.addPoly(clipPoints, std::size(clipPoints),
true);
17 SkDebugf(
"left:%g top:%g right:%g bottom:%g\n",
18 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom);
21 SkDebugf(
"left:%g top:%g right:%g bottom:%g\n",
22 bounds.fLeft, bounds.fTop, bounds.fRight, bounds.fBottom);