Index: include/core/SkPath.h |
diff --git a/include/core/SkPath.h b/include/core/SkPath.h |
index 4ce816f92f12d04020b63e98801274ee5a9cd4a1..2b1d3bba212c9ee1d5e3e2f8fad4fb15a5bc9c24 100644 |
--- a/include/core/SkPath.h |
+++ b/include/core/SkPath.h |
@@ -187,6 +187,10 @@ public: |
return 0 == fPathRef->countVerbs(); |
} |
+ /** Return true if the current contour of this path ends with a close verb. |
+ */ |
+ bool isClosed() const; |
reed1
2016/01/20 16:41:41
nit: lets make the name clearer
bool isLastContou
fs
2016/01/20 17:24:43
Done.
|
+ |
/** |
* Returns true if all of the points in this path are finite, meaning there |
* are no infinities and no NaNs. |