7 SkIPoint pts[] = { { 30, 50}, { 40, 50}, { 30, 60} };
9 SkDebugf(
"rect: (%d, %d, %d, %d) %s (%d, %d)\n",
11 rect.contains(pt.x(), pt.y()) ?
"contains" :
"does not contain", pt.x(), pt.y());
REG_FIDDLE(IRect_contains, 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)
sk_sp< SkBlender > blender SkRect rect