Lines Matching refs:rect
40 // Build up a clip stack with a path, an empty clip, and a rect.
90 // Test that version constructed with rect-path rather than a rect is still considered equal.
373 SkRect rect = SkRect::MakeLTRB(0, 0, 10, 10);
376 path.addRect(rect);
385 REPORTER_ASSERT(reporter, bounds == rect);
389 SkRect rect = SkRect::MakeWH(100, 100);
396 // Adding a new rect with the replace operator should not increase
401 stack.replaceClip(rect, false);
403 stack.replaceClip(rect, false);
407 // Adding a new rect with the replace operator should not increase
412 stack.replaceClip(rect, true);
414 stack.replaceClip(rect, true);
418 // Adding a new rect with the replace operator should not increase
423 stack.replaceClip(rect, false);
425 stack.replaceClip(rect, true);
427 stack.replaceClip(rect, false);
434 stack.replaceClip(rect, false);
439 stack.replaceClip(rect, false);
442 REPORTER_ASSERT(reporter, bound == rect);
447 stack.replaceClip(rect, false);
448 stack.replaceClip(rect, false);
454 stack.replaceClip(rect, false);
456 stack.replaceClip(rect, false);
470 SkRect rect = SkRect::MakeWH(100, 100);
475 // with a wide-open rect and then an intersection with the complex geometry. The replace can
487 // Replacing rect with path.
490 stack.replaceClip(rect, true);
497 // Test out SkClipStack's merging of rect clips. In particular exercise
868 // all of the above rects should have been intersected, leaving only 1 rect