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