Lines Matching defs:inner
1024 // Test that an empty rrect reports empty inner bounds
1026 // Test that a rect rrect reports itself as the inner bounds
1029 // Test that a circle rrect has an inner bounds area equal to 2*radius^2
1031 SkRect inner = SkRRectPriv::InnerBounds(SkRRect::MakeOval(SkRect::MakeWH(2.f * radius,
1033 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(inner.width() * inner.height(),
1042 (width-2.f*radius) * (height-2.f*radius) + // inner area excluding corners and edges
1046 inner = SkRRectPriv::InnerBounds(SkRRect::MakeRectXY(r, radius, radius));
1047 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(inner.width() * inner.height(),
1060 // and larger than the inner area avoiding all corners.
1089 inner = SkRect::MakeXYWH(maxLeft, maxTop, innerWidth, innerHeight);
1090 inner.inset(kEpsilon, kEpsilon);
1092 if (inner.isSorted()) {
1093 REPORTER_ASSERT(reporter, maxInner.contains(inner));
1095 // Flipped from the inset, just test two points of inner