Lines Matching refs:path

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.
375 SkPath path;
376 path.addRect(rect);
377 path.toggleInverseFillType();
379 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
463 // Simplified path-based version of test_rect_replace.
465 auto replacePath = [](SkClipStack* stack, const SkPath& path, bool doAA) {
468 stack->clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, doAA);
471 SkPath path;
472 path.addCircle(50, 50, 50);
481 replacePath(&stack, path, false);
483 replacePath(&stack, path, false);
487 // Replacing rect with path.
492 replacePath(&stack, path, true);
642 // Use a path for second clip to prevent in-place intersection
700 SkPath path;
701 path.addRect(outsideRect);
702 path.toggleInverseFillType();
703 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
709 SkPath path;
710 path.addRect(insideRect);
711 path.toggleInverseFillType();
712 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
718 SkPath path;
719 path.addRect(intersectingRect);
720 path.toggleInverseFillType();
721 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
727 SkPath path;
728 path.addRect(nonIntersectingRect);
729 path.toggleInverseFillType();
730 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
737 SkPath path = outsideCircle;
738 path.toggleInverseFillType();
739 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
745 SkPath path = insideCircle;
746 path.toggleInverseFillType();
747 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
753 SkPath path = intersectingCircle;
754 path.toggleInverseFillType();
755 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
761 SkPath path = nonIntersectingCircle;
762 path.toggleInverseFillType();
763 stack.clipPath(path, SkMatrix::I(), SkClipOp::kIntersect, false);
774 SkPath path;
781 element->asDeviceSpacePath(&path);
782 elemRegion.setPath(path, boundsRgn);
795 SkPath path;
796 path.addRect({30, 10, 40, 20});
797 path.setFillType(SkPathFillType::kInverseWinding);
798 stack.clipPath(path, SkMatrix::I(), SkClipOp::kDifference, false);