diff options
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkClipStack.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h index 443e6ad7d9..b420c9a7bd 100644 --- a/include/core/SkClipStack.h +++ b/include/core/SkClipStack.h @@ -138,6 +138,10 @@ public: * Gets the bounds of the clip element, either the rect or path bounds. */ const SkRect& getBounds() const; + /** + * Returns true if the clip element is a path that is inverse filled + */ + bool isInverseFilled() const; const SkRect* fRect; // if non-null, this is a rect clip const SkPath* fPath; // if non-null, this is a path clip @@ -174,6 +178,12 @@ public: const Clip* skipToTopmost(SkRegion::Op op); /** + * Moves forward to the next clip element that uses op. If no clip with that op is found, + * returns NULL. + */ + const Clip* skipToNext(SkRegion::Op op); + + /** * Restarts the iterator on a clip stack. */ void reset(const SkClipStack& stack, IterStart startLoc); |