Index: include/core/SkRegion.h |
=================================================================== |
--- include/core/SkRegion.h (revision 10113) |
+++ include/core/SkRegion.h (working copy) |
@@ -86,6 +86,12 @@ |
const SkIRect& getBounds() const { return fBounds; } |
/** |
+ * Returns the number of rects that comprise this region. |
reed1
2013/07/17 19:14:36
I'd like to make the definition a little fuzzier,
vmpstr
2013/07/17 19:59:08
Done.
|
+ * Experimental: please do not use this unless absolutely necessary. |
+ */ |
+ int getRectCount() const; |
+ |
+ /** |
* Returns true if the region is non-empty, and if so, appends the |
* boundary(s) of the region to the specified path. |
* If the region is empty, returns false, and path is left unmodified. |