diff options
Diffstat (limited to 'include/core/SkClipStack.h')
-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 fb941553b3..db42e4df26 100644 --- a/include/core/SkClipStack.h +++ b/include/core/SkClipStack.h @@ -29,6 +29,11 @@ public: class B2FIter { public: + /** + * Creates an uninitialized iterator. Must be reset() + */ + B2FIter(); + B2FIter(const SkClipStack& stack); struct Clip { @@ -48,6 +53,11 @@ public: */ const Clip* next(); + /** + * Restarts the iterator on a clip stack. + */ + void reset(const SkClipStack& stack); + private: Clip fClip; SkDeque::F2BIter fIter; |