| Index: include/core/SkClipStack.h
|
| diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h
|
| index 38d6d6751d7506aad3b797bcd6a121b752459003..973f70a42be26b0d329985655a36d1ba3fba6d1e 100644
|
| --- a/include/core/SkClipStack.h
|
| +++ b/include/core/SkClipStack.h
|
| @@ -98,6 +98,9 @@ public:
|
| //!< Call to get the element as a path, regardless of its type.
|
| void asPath(SkPath* path) const;
|
|
|
| + //!< Call if getType() is not kPath to get the element as a round rect.
|
| + const SkRRect& asRRect() const { SkASSERT(kPath_Type != fType); return fRRect; }
|
| +
|
| /** If getType() is not kEmpty this indicates whether the clip shape should be anti-aliased
|
| when it is rasterized. */
|
| bool isAA() const { return fDoAA; }
|
|
|