Index: include/core/SkPath.h |
diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
index 4ce816f92f12d04020b63e98801274ee5a9cd4a1..695271981550a0038b788003cd88befc81516297 100644 |
--- a/include/core/SkPath.h |
+++ b/include/core/SkPath.h |
@@ -187,6 +187,10 @@ public: |
return 0 == fPathRef->countVerbs(); |
} |
+ /** Return true if the last contour of this path ends with a close verb. |
+ */ |
+ bool isLastContourClosed() const; |
+ |
/** |
* Returns true if all of the points in this path are finite, meaning there |
* are no infinities and no NaNs. |