Flutter Engine
The Flutter Engine
Public Member Functions | Public Attributes | List of all members
SkMask::AlphaIter< SkMask::kA8_Format > Struct Reference

#include <SkMask.h>

Public Member Functions

 AlphaIter (const uint8_t *ptr)
 
 AlphaIter (const AlphaIter &that)
 
AlphaIteroperator++ ()
 
AlphaIteroperator-- ()
 
AlphaIteroperator>>= (uint32_t rb)
 
uint8_t operator* () const
 
bool operator< (const AlphaIter &that) const
 

Public Attributes

const uint8_t * fPtr
 

Detailed Description

Definition at line 169 of file SkMask.h.

Constructor & Destructor Documentation

◆ AlphaIter() [1/2]

SkMask::AlphaIter< SkMask::kA8_Format >::AlphaIter ( const uint8_t *  ptr)
inline

Definition at line 170 of file SkMask.h.

170: fPtr(ptr) {}

◆ AlphaIter() [2/2]

SkMask::AlphaIter< SkMask::kA8_Format >::AlphaIter ( const AlphaIter< SkMask::kA8_Format > &  that)
inline

Definition at line 171 of file SkMask.h.

171: fPtr(that.fPtr) {}

Member Function Documentation

◆ operator*()

uint8_t SkMask::AlphaIter< SkMask::kA8_Format >::operator* ( ) const
inline

Definition at line 178 of file SkMask.h.

178{ return *fPtr; }

◆ operator++()

AlphaIter & SkMask::AlphaIter< SkMask::kA8_Format >::operator++ ( )
inline

Definition at line 172 of file SkMask.h.

172{ ++fPtr; return *this; }

◆ operator--()

AlphaIter & SkMask::AlphaIter< SkMask::kA8_Format >::operator-- ( )
inline

Definition at line 173 of file SkMask.h.

173{ --fPtr; return *this; }

◆ operator<()

bool SkMask::AlphaIter< SkMask::kA8_Format >::operator< ( const AlphaIter< SkMask::kA8_Format > &  that) const
inline

Definition at line 179 of file SkMask.h.

179{ return fPtr < that.fPtr; }

◆ operator>>=()

AlphaIter & SkMask::AlphaIter< SkMask::kA8_Format >::operator>>= ( uint32_t  rb)
inline

Definition at line 174 of file SkMask.h.

174 {
175 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
176 return *this;
177 }

Member Data Documentation

◆ fPtr

const uint8_t* SkMask::AlphaIter< SkMask::kA8_Format >::fPtr

Definition at line 180 of file SkMask.h.


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