Go to the source code of this file.
|
| REG_FIDDLE (Canvas_quickReject_2, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Canvas_quickReject_2 |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Canvas_quickReject_2.cpp.
5 {
7 SkPoint testPoints[] = {{30, 30}, {120, 30}, {120, 129} };
8 SkPoint clipPoints[] = {{30, 130}, {120, 130}, {120, 230} };
10 testPath.
addPoly(testPoints, std::size(testPoints),
true);
11 clipPath.addPoly(clipPoints, std::size(clipPoints),
true);
19}
20}
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void rotate(SkScalar degrees)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
bool quickReject(const SkRect &rect) const
SkPath & addPoly(const SkPoint pts[], int count, bool close)
clipPath(r.path, r.opAA.op(), r.opAA.aa())) DRAW(ClipRRect