Flutter Engine
The Flutter Engine
|
#include <SkClipStack.h>
Public Types | |
enum | IterStart { kBottom_IterStart = SkDeque::Iter::kFront_IterStart , kTop_IterStart = SkDeque::Iter::kBack_IterStart } |
Public Member Functions | |
Iter () | |
Iter (const SkClipStack &stack, IterStart startLoc) | |
const Element * | next () |
const Element * | prev () |
const Element * | skipToTopmost (SkClipOp op) |
void | reset (const SkClipStack &stack, IterStart startLoc) |
Definition at line 400 of file SkClipStack.h.
Enumerator | |
---|---|
kBottom_IterStart | |
kTop_IterStart |
Definition at line 402 of file SkClipStack.h.
SkClipStack::Iter::Iter | ( | ) |
Creates an uninitialized iterator. Must be reset()
Definition at line 786 of file SkClipStack.cpp.
SkClipStack::Iter::Iter | ( | const SkClipStack & | stack, |
IterStart | startLoc | ||
) |
Definition at line 789 of file SkClipStack.cpp.
const SkClipStack::Element * SkClipStack::Iter::next | ( | ) |
Return the clip element for this iterator. If next()/prev() returns NULL, then the iterator is done.
Definition at line 794 of file SkClipStack.cpp.
const SkClipStack::Element * SkClipStack::Iter::prev | ( | ) |
Definition at line 798 of file SkClipStack.cpp.
void SkClipStack::Iter::reset | ( | const SkClipStack & | stack, |
IterStart | startLoc | ||
) |
Restarts the iterator on a clip stack.
Definition at line 840 of file SkClipStack.cpp.
const SkClipStack::Element * SkClipStack::Iter::skipToTopmost | ( | SkClipOp | op | ) |
Moves the iterator to the topmost element with the specified RegionOp and returns that element. If no clip element with that op is found, the first element is returned.
Definition at line 802 of file SkClipStack.cpp.