Index: include/core/SkPath.h |
diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
index e1bc5e4d856d3fa0ff2bdc46a90362c698058781..8df7633d425f063a415884271685e0a1913feb59 100644 |
--- a/include/core/SkPath.h |
+++ b/include/core/SkPath.h |
@@ -1143,6 +1143,10 @@ private: |
bool isRectContour(bool allowPartial, int* currVerb, const SkPoint** pts, |
bool* isClosed, Direction* direction) const; |
+ // called by stroker to see if all points are equal and worthy of a cap |
+ // equivalent to a short-circuit version of getBounds().isEmpty() |
+ bool isZeroLength() const; |
+ |
/** Returns if the path can return a bound at no cost (true) or will have to |
perform some computation (false). |
*/ |