Searched refs:kBaseRect (Results 1 – 2 of 2) sorted by relevance
/third_party/skia/tests/ |
D | PathTest.cpp | 1791 static const SkRect kBaseRect = SkRect::MakeWH(SkIntToScalar(100), SkIntToScalar(100)); in test_conservativelyContains() local 1794 SkScalar circleR = std::max(kBaseRect.width(), kBaseRect.height()); in test_conservativelyContains() 1796 static const SkPoint kCircleC = {kBaseRect.centerX(), kBaseRect.centerY()}; in test_conservativelyContains() 1808 {kBaseRect, true, true, false, false}, in test_conservativelyContains() 1811 {SkRect::MakeLTRB(kBaseRect.fLeft + 0.25f*kBaseRect.width(), in test_conservativelyContains() 1812 kBaseRect.fTop + 0.25f*kBaseRect.height(), in test_conservativelyContains() 1813 kBaseRect.fRight - 0.25f*kBaseRect.width(), in test_conservativelyContains() 1814 kBaseRect.fBottom - 0.25f*kBaseRect.height()), in test_conservativelyContains() 1818 {SkRect::MakeXYWH(kBaseRect.fLeft, kBaseRect.fTop, in test_conservativelyContains() 1819 kBaseRect.width(), kBaseRect.height() + 1), in test_conservativelyContains() [all …]
|
/third_party/skia/bench/ |
D | PathBench.cpp | 826 fPath.addRect(kBaseRect); in ConservativelyContainsBench() 830 fPath.addRoundRect(kBaseRect, kRRRadii[0], kRRRadii[1]); in ConservativelyContainsBench() 834 fPath.addOval(kBaseRect); in ConservativelyContainsBench() 877 static const SkRect kBaseRect; // rect that is used to construct the path member in ConservativelyContainsBench 1151 const SkRect ConservativelyContainsBench::kBaseRect = SkRect::MakeXYWH(SkIntToScalar(25), SkIntToSc… member in ConservativelyContainsBench
|