Skia
2DGraphicsLibrary
|
The B2TIter iterates from the bottom of the stack to the top. More...
#include <SkClipStack.h>
Public Member Functions | |
B2TIter (const SkClipStack &stack) | |
Wrap Iter's 2 parameter ctor to force initialization to the beginning of the deque/bottom of the stack. | |
void | reset (const SkClipStack &stack) |
Wrap Iter::reset to force initialization to the beginning of the deque/bottom of the stack. | |
Private Types | |
typedef Iter | INHERITED |
Private Types inherited from SkClipStack::Iter | |
enum | IterStart { kBottom_IterStart = SkDeque::Iter::kFront_IterStart, kTop_IterStart = SkDeque::Iter::kBack_IterStart } |
Additional Inherited Members | |
Private Member Functions inherited from SkClipStack::Iter | |
Iter () | |
Creates an uninitialized iterator. More... | |
Iter (const SkClipStack &stack, IterStart startLoc) | |
const Element * | next () |
Return the clip element for this iterator. More... | |
const Element * | prev () |
const Element * | skipToTopmost (SkRegion::Op op) |
Moves the iterator to the topmost element with the specified RegionOp and returns that element. More... | |
void | reset (const SkClipStack &stack, IterStart startLoc) |
Restarts the iterator on a clip stack. | |
The B2TIter iterates from the bottom of the stack to the top.
It inherits privately from Iter to prevent access to reverse iteration.