Lines Matching refs:SkClipStack
20 int32_t SkClipStack::gGenID = kFirstUnreservedGenID;
22 SkClipStack::Element::Element(const Element& that) { in Element()
48 bool SkClipStack::Element::operator== (const Element& element) const { in operator ==()
73 void SkClipStack::Element::invertShapeFillType() { in invertShapeFillType()
96 void SkClipStack::Element::initPath(int saveCount, const SkPath& path, SkClipOp op, in initPath()
118 void SkClipStack::Element::asPath(SkPath* path) const { in asPath()
141 void SkClipStack::Element::setEmpty() { in setEmpty()
152 void SkClipStack::Element::checkEmpty() const { in checkEmpty()
161 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkClipOp op) const { in canBeIntersectedInPlace()
173 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { in rectRectIntersectAllowed()
201 void SkClipStack::Element::combineBoundsDiff(FillCombo combination, const SkRect& prevFinite) { in combineBoundsDiff()
243 void SkClipStack::Element::combineBoundsXOR(int combination, const SkRect& prevFinite) { in combineBoundsXOR()
276 void SkClipStack::Element::combineBoundsUnion(int combination, const SkRect& prevFinite) { in combineBoundsUnion()
306 void SkClipStack::Element::combineBoundsIntersection(int combination, const SkRect& prevFinite) { in combineBoundsIntersection()
337 void SkClipStack::Element::combineBoundsRevDiff(int combination, const SkRect& prevFinite) { in combineBoundsRevDiff()
371 void SkClipStack::Element::updateBoundAndGenID(const Element* prior) { in updateBoundAndGenID()
419 SkClipStack::BoundsType prevType; in updateBoundAndGenID()
478 SkClipStack::SkClipStack() in SkClipStack() function in SkClipStack
483 SkClipStack::SkClipStack(void* storage, size_t size) in SkClipStack() function in SkClipStack
488 SkClipStack::SkClipStack(const SkClipStack& b) in SkClipStack() function in SkClipStack
493 SkClipStack::~SkClipStack() { in ~SkClipStack()
497 SkClipStack& SkClipStack::operator=(const SkClipStack& b) { in operator =()
514 bool SkClipStack::operator==(const SkClipStack& b) const { in operator ==()
537 void SkClipStack::reset() { in reset()
549 void SkClipStack::save() { in save()
553 void SkClipStack::restore() { in restore()
558 void SkClipStack::restoreTo(int saveCount) { in restoreTo()
569 SkRect SkClipStack::bounds(const SkIRect& deviceBounds) const { in bounds()
572 SkClipStack::BoundsType bounds; in bounds()
574 if (bounds == SkClipStack::kInsideOut_BoundsType) { in bounds()
581 bool SkClipStack::isEmpty(const SkIRect& r) const { return this->bounds(r).isEmpty(); } in isEmpty()
583 void SkClipStack::getBounds(SkRect* canvFiniteBound, in getBounds()
607 bool SkClipStack::internalQuickContains(const SkRect& rect) const { in internalQuickContains()
632 bool SkClipStack::internalQuickContains(const SkRRect& rrect) const { in internalQuickContains()
657 bool SkClipStack::asPath(SkPath *path) const { in asPath()
663 SkClipStack::Iter iter(*this, SkClipStack::Iter::kBottom_IterStart); in asPath()
664 while (const SkClipStack::Element* element = iter.next()) { in asPath()
666 if (element->getType() != SkClipStack::Element::kEmpty_Type) { in asPath()
686 void SkClipStack::pushElement(const Element& element) { in pushElement()
731 void SkClipStack::clipRRect(const SkRRect& rrect, const SkMatrix& matrix, SkClipOp op, in clipRRect()
749 void SkClipStack::clipRect(const SkRect& rect, const SkMatrix& matrix, SkClipOp op, in clipRect()
769 void SkClipStack::clipPath(const SkPath& path, const SkMatrix& matrix, SkClipOp op, in clipPath()
781 void SkClipStack::clipEmpty() { in clipEmpty()
794 SkClipStack::Iter::Iter() : fStack(nullptr) { in Iter()
797 SkClipStack::Iter::Iter(const SkClipStack& stack, IterStart startLoc) in Iter()
802 const SkClipStack::Element* SkClipStack::Iter::next() { in next()
803 return (const SkClipStack::Element*)fIter.next(); in next()
806 const SkClipStack::Element* SkClipStack::Iter::prev() { in prev()
807 return (const SkClipStack::Element*)fIter.prev(); in prev()
810 const SkClipStack::Element* SkClipStack::Iter::skipToTopmost(SkClipOp op) { in skipToTopmost()
818 const SkClipStack::Element* element = nullptr; in skipToTopmost()
820 for (element = (const SkClipStack::Element*) fIter.prev(); in skipToTopmost()
822 element = (const SkClipStack::Element*) fIter.prev()) { in skipToTopmost()
849 void SkClipStack::Iter::reset(const SkClipStack& stack, IterStart startLoc) { in reset()
855 void SkClipStack::getConservativeBounds(int offsetX, in getConservativeBounds()
867 SkClipStack::BoundsType boundType; in getConservativeBounds()
871 if (SkClipStack::kInsideOut_BoundsType == boundType) { in getConservativeBounds()
883 bool SkClipStack::isRRect(const SkRect& bounds, SkRRect* rrect, bool* aa) const { in isRRect()
891 if (back->getType() != SkClipStack::Element::kRect_Type && in isRRect()
892 back->getType() != SkClipStack::Element::kRRect_Type) { in isRRect()
927 uint32_t SkClipStack::GetNextGenID() { in GetNextGenID()
935 uint32_t SkClipStack::getTopmostGenID() const { in getTopmostGenID()
949 void SkClipStack::Element::dump() const { in dump()
998 void SkClipStack::dump() const { in dump()