Skia
2DGraphicsLibrary
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SkPath::RawIter Class Reference

Iterate through the verbs in the path, providing the associated points. More...

#include <SkPath.h>

Public Member Functions

 RawIter (const SkPath &path)
 
void setPath (const SkPath &path)
 
Verb next (SkPoint pts[4])
 Return the next verb in this iteration of the path. More...
 
Verb peek () const
 Return what the next verb will be, but do not visit the next segment. More...
 
SkScalar conicWeight () const
 

Private Attributes

SkPathRef::Iter fRawIter
 

Friends

class SkPath
 

Detailed Description

Iterate through the verbs in the path, providing the associated points.

Member Function Documentation

Verb SkPath::RawIter::next ( SkPoint  pts[4])
inline

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
Verb SkPath::RawIter::peek ( ) const
inline

Return what the next verb will be, but do not visit the next segment.

Returns
The verb for the next segment

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