Lines Matching refs:kBaseRect
1460 static const SkRect kBaseRect = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in test_conservativelyContains() local
1463 SkScalar circleR = SkMaxScalar(kBaseRect.width(), kBaseRect.height()); in test_conservativelyContains()
1465 static const SkPoint kCircleC = {kBaseRect.centerX(), kBaseRect.centerY()}; in test_conservativelyContains()
1477 {kBaseRect, true, true, false, false}, in test_conservativelyContains()
1480 {SkRect::MakeLTRB(kBaseRect.fLeft + 0.25f*kBaseRect.width(), in test_conservativelyContains()
1481 kBaseRect.fTop + 0.25f*kBaseRect.height(), in test_conservativelyContains()
1482 kBaseRect.fRight - 0.25f*kBaseRect.width(), in test_conservativelyContains()
1483 kBaseRect.fBottom - 0.25f*kBaseRect.height()), in test_conservativelyContains()
1487 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, in test_conservativelyContains()
1488 kBaseRect.width(), kBaseRect.height() + 1), in test_conservativelyContains()
1490 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, in test_conservativelyContains()
1491 kBaseRect.width() + 1, kBaseRect.height()), in test_conservativelyContains()
1493 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, in test_conservativelyContains()
1494 kBaseRect.width() + 1, kBaseRect.height() + 1), in test_conservativelyContains()
1496 {SkRect::MakeXYWH(kBaseRect.fLeft - 1, kBaseRect.fTop, in test_conservativelyContains()
1497 kBaseRect.width(), kBaseRect.height()), in test_conservativelyContains()
1499 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop - 1, in test_conservativelyContains()
1500 kBaseRect.width(), kBaseRect.height()), in test_conservativelyContains()
1502 {SkRect::MakeXYWH(kBaseRect.fLeft - 1, kBaseRect.fTop, in test_conservativelyContains()
1503 kBaseRect.width() + 2, kBaseRect.height()), in test_conservativelyContains()
1505 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop - 1, in test_conservativelyContains()
1506 kBaseRect.width() + 2, kBaseRect.height()), in test_conservativelyContains()
1510 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, 0, 0), true, true, false, false}, in test_conservativelyContains()
1511 {SkRect::MakeXYWH(kBaseRect.fRight, kBaseRect.fTop, 0, 0), true, true, false, true}, in test_conservativelyContains()
1512 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fBottom, 0, 0), true, true, false, true}, in test_conservativelyContains()
1513 {SkRect::MakeXYWH(kBaseRect.fRight, kBaseRect.fBottom, 0, 0), true, true, false, true}, in test_conservativelyContains()
1516 {SkRect::MakeXYWH(10 * kBaseRect.fRight, 10 * kBaseRect.fBottom, in test_conservativelyContains()
1521 {SkRect::MakeXYWH(kBaseRect.fLeft - 5 * kBaseRect.width(), in test_conservativelyContains()
1522 kBaseRect.fTop - 5 * kBaseRect.height(), in test_conservativelyContains()
1523 11 * kBaseRect.width(), 11 * kBaseRect.height()), in test_conservativelyContains()
1527 {SkRect::MakeXYWH(kBaseRect.centerX(), kBaseRect.fTop, in test_conservativelyContains()
1528 SkIntToScalar(1), kBaseRect.height()), in test_conservativelyContains()
1532 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.centerY(), kBaseRect.width(), SkScalar(1)), in test_conservativelyContains()
1536 {SkRect::MakeXYWH(kBaseRect.centerX(), kBaseRect.fTop, in test_conservativelyContains()
1537 SkIntToScalar(1), kBaseRect.height() + 1), in test_conservativelyContains()
1541 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.centerY(), in test_conservativelyContains()
1542 kBaseRect.width() + 1, SkScalar(1)), in test_conservativelyContains()
1558 path.addRect(kBaseRect, dir); in test_conservativelyContains()
1568 path.addRoundRect(kBaseRect, kRRRadii[0], kRRRadii[1], dir); in test_conservativelyContains()
1573 path.moveTo(kBaseRect.fLeft + kRRRadii[0], kBaseRect.fTop); in test_conservativelyContains()
1574 path.cubicTo(kBaseRect.fLeft + kRRRadii[0] / 2, kBaseRect.fTop, in test_conservativelyContains()
1575 kBaseRect.fLeft, kBaseRect.fTop + kRRRadii[1] / 2, in test_conservativelyContains()
1576 kBaseRect.fLeft, kBaseRect.fTop + kRRRadii[1]); in test_conservativelyContains()
1577 path.lineTo(kBaseRect.fLeft, kBaseRect.fBottom); in test_conservativelyContains()
1578 path.lineTo(kBaseRect.fRight, kBaseRect.fBottom); in test_conservativelyContains()
1579 path.lineTo(kBaseRect.fRight, kBaseRect.fTop); in test_conservativelyContains()