Lines Matching refs:clip0
206 SkAAClip clip0, clip1; in test_empty() local
208 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
209 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
210 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
212 clip0.translate(10, 10); // should have no effect on empty in test_empty()
213 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
214 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
215 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
218 clip0.setRect(r); in test_empty()
219 REPORTER_ASSERT(reporter, !clip0.isEmpty()); in test_empty()
220 REPORTER_ASSERT(reporter, !clip0.getBounds().isEmpty()); in test_empty()
221 REPORTER_ASSERT(reporter, clip0 != clip1); in test_empty()
222 REPORTER_ASSERT(reporter, clip0.getBounds() == r); in test_empty()
224 clip0.setEmpty(); in test_empty()
225 REPORTER_ASSERT(reporter, clip0.isEmpty()); in test_empty()
226 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty()); in test_empty()
227 REPORTER_ASSERT(reporter, clip1 == clip0); in test_empty()
231 clip0.copyToMask(&mask); in test_empty()
248 SkAAClip clip0, clip1; in test_irect() local
254 clip0.setRect(r0); in test_irect()
262 bool nonEmptyAA = clip2.op(clip0, clip1, op); in test_irect()