7 auto debugster = [](
const char* prefix,
const SkPath& path) ->
void {
8 SkDebugf(
"%s point count: %d\n", prefix, path.countPoints());
11 debugster(
"empty", path);
13 debugster(
"zero line", path);
17 debugster(
"line", path);
19 debugster(
"second move", path);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
#define REG_FIDDLE(NAME, W, H, TEXT, I)