Skia
2DGraphicsLibrary
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkClipStack::B2TIter Class Reference

The B2TIter iterates from the bottom of the stack to the top. More...

#include <SkClipStack.h>

Inheritance diagram for SkClipStack::B2TIter:
SkClipStack::Iter

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 Elementnext ()
 Return the clip element for this iterator. More...
 
const Elementprev ()
 
const ElementskipToTopmost (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.
 

Detailed Description

The B2TIter iterates from the bottom of the stack to the top.

It inherits privately from Iter to prevent access to reverse iteration.


The documentation for this class was generated from the following file: