| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index 8da15804deb69b8defca2c8fb0dbf6f5a64be835..0b24baac75c76c81322abec1fdd6ac4f187b4347 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -1841,6 +1841,21 @@ SkPath::Verb SkPath::RawIter::next(SkPoint pts[4]) {
|
| return (Verb)verb;
|
| }
|
|
|
| +#include "SkPathIter.h"
|
| +
|
| +SkPathIter::SkPathIter(const SkPath& path)
|
| + : fCurrPts(path.fPathRef->points())
|
| + , fNextPts(path.fPathRef->points() + 1)
|
| + , fConicW(path.fPathRef->conicWeights() - 1)
|
| + , fVerbs(path.fPathRef->verbs())
|
| + , fStopVerbs(path.fPathRef->verbsMemBegin())
|
| + , fPrevPtsPerVerb(0)
|
| +{
|
| + if (fVerbs != fStopVerbs) {
|
| + SkASSERT(kMove_SkPathVerb == fVerbs[-1]);
|
| + }
|
| +}
|
| +
|
| ///////////////////////////////////////////////////////////////////////////////
|
|
|
| /*
|
|
|