Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
SkClipStack::B2TIter Class Reference

#include <SkClipStack.h>

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

Public Member Functions

 B2TIter ()
 
 B2TIter (const SkClipStack &stack)
 
void reset (const SkClipStack &stack)
 
const Elementnext ()
 

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.

Definition at line 441 of file SkClipStack.h.

Constructor & Destructor Documentation

◆ B2TIter() [1/2]

SkClipStack::B2TIter::B2TIter ( )
inline

Definition at line 443 of file SkClipStack.h.

443{}

◆ B2TIter() [2/2]

SkClipStack::B2TIter::B2TIter ( const SkClipStack stack)
inline

Wrap Iter's 2 parameter ctor to force initialization to the beginning of the deque/bottom of the stack

Definition at line 449 of file SkClipStack.h.

450 : INHERITED(stack, kBottom_IterStart) {
451 }

Member Function Documentation

◆ next()

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 418 of file SkClipStack.cpp.

794 {
795 return (const SkClipStack::Element*)fIter.next();
796}
std::unique_ptr< SkLatticeIter > fIter
Definition: LatticeOp.cpp:380

◆ reset()

void SkClipStack::B2TIter::reset ( const SkClipStack stack)
inline

Wrap Iter::reset to force initialization to the beginning of the deque/bottom of the stack

Definition at line 459 of file SkClipStack.h.

459 {
461 }
void reset(const SkClipStack &stack, IterStart startLoc)

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