Index: include/core/SkPath.h |
=================================================================== |
--- include/core/SkPath.h (revision 13245) |
+++ include/core/SkPath.h (working copy) |
@@ -962,7 +962,6 @@ |
SkAutoTUnref<SkPathRef> fPathRef; |
- int fLastMoveToIndex; |
uint8_t fFillType; |
mutable uint8_t fConvexity; |
mutable uint8_t fDirection; |
@@ -998,7 +997,10 @@ |
// SkPath path; path.lineTo(...); <--- need a leading moveTo(0, 0) |
// SkPath path; ... path.close(); path.lineTo(...) <-- need a moveTo(previous moveTo) |
// |
- inline void injectMoveToIfNeeded(); |
+ void injectMoveToIfNeeded() { |
+ SkPathRef::Editor ed(&fPathRef); |
+ ed.injectMoveToIfNeeded(); |
+ } |
inline bool hasOnlyMoveTos() const; |