Lines Matching refs:clipBounds
387 SkIRect clipBounds; in test_clip_bound_opt() local
394 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
395 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
396 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
397 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
398 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
404 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
405 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt()
406 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt()
407 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
408 REPORTER_ASSERT(reporter, 8 == clipBounds.fRight); in test_clip_bound_opt()
414 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
415 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
416 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
417 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
418 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
423 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
424 REPORTER_ASSERT(reporter, 0 == clipBounds.fLeft); in test_clip_bound_opt()
425 REPORTER_ASSERT(reporter, 0 == clipBounds.fTop); in test_clip_bound_opt()
426 REPORTER_ASSERT(reporter, 10 == clipBounds.fBottom); in test_clip_bound_opt()
427 REPORTER_ASSERT(reporter, 10 == clipBounds.fRight); in test_clip_bound_opt()
432 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
436 REPORTER_ASSERT(reporter, 7 == clipBounds.fLeft); in test_clip_bound_opt()
437 REPORTER_ASSERT(reporter, 7 == clipBounds.fTop); in test_clip_bound_opt()
438 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
439 REPORTER_ASSERT(reporter, 8 == clipBounds.fRight); in test_clip_bound_opt()
445 clipBounds = canvas->getDeviceClipBounds(); in test_clip_bound_opt()
446 REPORTER_ASSERT(reporter, 6 == clipBounds.fLeft); in test_clip_bound_opt()
447 REPORTER_ASSERT(reporter, 6 == clipBounds.fTop); in test_clip_bound_opt()
448 REPORTER_ASSERT(reporter, 8 == clipBounds.fBottom); in test_clip_bound_opt()
449 REPORTER_ASSERT(reporter, 8 == clipBounds.fRight); in test_clip_bound_opt()