Lines Matching refs:clip0
219 SkAAClip clip0, clip1; in test_empty() local
221 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
222 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
223 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
225 clip0.translate(10, 10); // should have no effect on empty in test_empty()
226 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
227 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
228 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
231 clip0.setRect(r); in test_empty()
232 REPORTER_ASSERT(reporter, !clip0.isEmpty()); in test_empty()
233 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
234 REPORTER_ASSERT(reporter, clip0 != clip1); in test_empty()
235 REPORTER_ASSERT(reporter, clip0.getBounds() == r); in test_empty()
237 clip0.setEmpty(); in test_empty()
238 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
239 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
240 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
243 clip0.copyToMask(&mask); in test_empty()
260 SkAAClip clip0, clip1; in test_irect() local
266 clip0.setRect(r0); in test_irect()
274 bool nonEmptyAA = clip2.op(clip0, clip1, op); in test_irect()