7 SkRect rect = { 30, 50, 40, 60 };
9 for (
auto contained :
tests) {
10 SkDebugf(
"rect: (%g, %g, %g, %g) %s (%g, %g)\n",
11 rect.left(), rect.top(), rect.right(), rect.bottom(),
12 rect.contains(contained.x(), contained.y()) ?
"contains" :
"does not contain",
13 contained.x(), contained.y());