| Index: include/core/SkPath.h
|
| diff --git a/include/core/SkPath.h b/include/core/SkPath.h
|
| index 7444cc97cac2bdd1d299e4bbde5494cf101298ba..b5b95e15e768acac7ef81126ea4202d917227b98 100644
|
| --- a/include/core/SkPath.h
|
| +++ b/include/core/SkPath.h
|
| @@ -581,7 +581,8 @@ public:
|
| */
|
| bool isRect(SkRect* rect, bool* isClosed = NULL, Direction* direction = NULL) const;
|
|
|
| - /** Returns true if the path specifies a pair of nested rectangles. If so, and if
|
| + /** Returns true if the path specifies a pair of nested rectangles, or would draw a
|
| + pair of nested rectangles when filled. If so, and if
|
| rect is not null, set rect[0] to the outer rectangle and rect[1] to the inner
|
| rectangle. If so, and dirs is not null, set dirs[0] to the direction of
|
| the outer rectangle and dirs[1] to the direction of the inner rectangle. If
|
| @@ -592,7 +593,7 @@ public:
|
| @param dirs If not null, returns the direction of the rects
|
| @return true if the path describes a pair of nested rectangles
|
| */
|
| - bool isNestedRects(SkRect rect[2], Direction dirs[2] = NULL) const;
|
| + bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = NULL) const;
|
|
|
| /**
|
| * Add a closed rectangle contour to the path
|
|
|