7 auto debugster = [](
const char* prefix,
const SkPath&
a,
const SkPath&
b) ->
void {
8 SkDebugf(
"%s one %c= two\n", prefix,
a ==
b ?
'=' :
'!');
12 debugster(
"empty", one, two);
14 debugster(
"moveTo", one, two);
16 debugster(
"rewind", one, two);
19 debugster(
"reset", one, two);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
SkPath & moveTo(SkScalar x, SkScalar y)
#define REG_FIDDLE(NAME, W, H, TEXT, I)