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

Public Member Functions

 Iter (const SkPathRef &)
 
void setPathRef (const SkPathRef &)
 
uint8_t next (SkPoint pts[4])
 Return the next verb in this iteration of the path. More...
 
uint8_t peek () const
 
SkScalar conicWeight () const
 

Private Attributes

const SkPointfPts
 
const uint8_t * fVerbs
 
const uint8_t * fVerbStop
 
const SkScalar * fConicWeights
 

Member Function Documentation

uint8_t SkPathRef::Iter::next ( SkPoint  pts[4])

Return the next verb in this iteration of the path.

When all segments have been visited, return kDone_Verb.

Parameters
ptsThe points representing the current verb and/or segment This must not be NULL.
Returns
The verb for the current segment

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