Lines Matching full:bounds
18 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK
66 SkPathOpsBounds bounds;
67 bounds.setEmpty();
68 bounds.add(1, 2, 3, 4);
71 REPORTER_ASSERT(reporter, bounds == expected);
72 bounds.setEmpty();
75 bounds.add(ordinal);
76 REPORTER_ASSERT(reporter, bounds == expected);
78 bounds.setPointBounds(topLeft);
80 bounds.add(botRight);
81 REPORTER_ASSERT(reporter, bounds == expected);
83 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(reallyEmpty[index]);
84 // SkASSERT(ValidBounds(bounds)); // don't check because test may contain nan
85 bool empty = bounds.isReallyEmpty();
89 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(notReallyEmpty[index]);
90 SkASSERT(ValidBounds(bounds));
91 bool empty = bounds.isReallyEmpty();
95 bounds.setLineBounds(curvePts);
97 REPORTER_ASSERT(reporter, bounds == expected);
98 (bounds.*SetCurveBounds[1])(curvePts);
99 REPORTER_ASSERT(reporter, bounds == expected);
100 bounds.setQuadBounds(curvePts);
102 REPORTER_ASSERT(reporter, bounds == expected);
103 (bounds.*SetCurveBounds[2])(curvePts);
104 REPORTER_ASSERT(reporter, bounds == expected);
105 bounds.setCubicBounds(curvePts);
107 REPORTER_ASSERT(reporter, bounds == expected);
108 (bounds.*SetCurveBounds[3])(curvePts);
109 REPORTER_ASSERT(reporter, bounds == expected);