Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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 440 of file SkClipStack.h.

Constructor & Destructor Documentation

◆ B2TIter() [1/2]

SkClipStack::B2TIter::B2TIter ( )
inline

Definition at line 442 of file SkClipStack.h.

442{}

◆ 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 448 of file SkClipStack.h.

449 : INHERITED(stack, kBottom_IterStart) {
450 }

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

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

◆ 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 458 of file SkClipStack.h.

458 {
460 }
void reset(const SkClipStack &stack, IterStart startLoc)

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