| Index: experimental/svg/model/SkSVGRect.h
|
| diff --git a/experimental/svg/model/SkSVGRect.h b/experimental/svg/model/SkSVGRect.h
|
| index b4cd363d77ead81a48131ce963bf496435f862ae..0da248c4eb1fd2204c116fc82a9ab035989c0b10 100644
|
| --- a/experimental/svg/model/SkSVGRect.h
|
| +++ b/experimental/svg/model/SkSVGRect.h
|
| @@ -20,6 +20,8 @@ public:
|
| void setY(const SkSVGLength&);
|
| void setWidth(const SkSVGLength&);
|
| void setHeight(const SkSVGLength&);
|
| + void setRx(const SkSVGLength&);
|
| + void setRy(const SkSVGLength&);
|
|
|
| protected:
|
| void onSetAttribute(SkSVGAttribute, const SkSVGValue&) override;
|
| @@ -34,6 +36,11 @@ private:
|
| SkSVGLength fWidth = SkSVGLength(0);
|
| SkSVGLength fHeight = SkSVGLength(0);
|
|
|
| + // The x radius for rounded rects.
|
| + SkSVGLength fRx = SkSVGLength(0);
|
| + // The y radius for rounded rects.
|
| + SkSVGLength fRy = SkSVGLength(0);
|
| +
|
| typedef SkSVGShape INHERITED;
|
| };
|
|
|
|
|