4REG_FIDDLE(Path_IsCubicDegenerate, 256, 256,
true, 0) {
19 }
while (prior !=
points[0].fX);
20 SkDebugf(
"%1.8g is degenerate\n", degenerate);
static int step(int x, SkScalar min, SkScalar max)
static const int points[]
REG_FIDDLE(Path_IsCubicDegenerate, 256, 256, true, 0)
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)