7 SkIRect rect = { 30, 50, 40, 60 };
8 SkIPoint pts[] = { { 30, 50}, { 40, 50}, { 30, 60} };
10 SkDebugf(
"rect: (%d, %d, %d, %d) %s (%d, %d)\n",
11 rect.left(), rect.top(), rect.right(), rect.bottom(),
12 rect.contains(pt.x(), pt.y()) ?
"contains" :
"does not contain", pt.x(), pt.y());