Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Path_IsCubicDegenerate |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Path_IsCubicDegenerate.cpp.
4 {
9 do {
13 degenerate = prior;
15 } else {
18 }
19 }
while (prior !=
points[0].fX);
20 SkDebugf(
"%1.8g is degenerate\n", degenerate);
22}
23}
static int step(int x, SkScalar min, SkScalar max)
static const int points[]
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static bool IsCubicDegenerate(const SkPoint &p1, const SkPoint &p2, const SkPoint &p3, const SkPoint &p4, bool exact)