Index: Source/core/svg/SVGRectElement.h |
diff --git a/Source/core/svg/SVGRectElement.h b/Source/core/svg/SVGRectElement.h |
index 2763fcbce8a680bcafea32b76b98fe5af08b67b6..4fe5a77dd7f89879c94cf5f24dc7a8155d9d3185 100644 |
--- a/Source/core/svg/SVGRectElement.h |
+++ b/Source/core/svg/SVGRectElement.h |
@@ -32,6 +32,13 @@ class SVGRectElement FINAL : public SVGGeometryElement { |
public: |
static PassRefPtr<SVGRectElement> create(Document&); |
+ SVGAnimatedLength* x() const { return m_x.get(); } |
+ SVGAnimatedLength* y() const { return m_y.get(); } |
+ SVGAnimatedLength* width() const { return m_width.get(); } |
+ SVGAnimatedLength* height() const { return m_height.get(); } |
+ SVGAnimatedLength* rx() const { return m_rx.get(); } |
+ SVGAnimatedLength* ry() const { return m_ry.get(); } |
+ |
private: |
explicit SVGRectElement(Document&); |
@@ -46,13 +53,13 @@ private: |
virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
+ RefPtr<SVGAnimatedLength> m_x; |
+ RefPtr<SVGAnimatedLength> m_y; |
+ RefPtr<SVGAnimatedLength> m_width; |
+ RefPtr<SVGAnimatedLength> m_height; |
+ RefPtr<SVGAnimatedLength> m_rx; |
+ RefPtr<SVGAnimatedLength> m_ry; |
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGRectElement) |
- DECLARE_ANIMATED_LENGTH(X, x) |
- DECLARE_ANIMATED_LENGTH(Y, y) |
- DECLARE_ANIMATED_LENGTH(Width, width) |
- DECLARE_ANIMATED_LENGTH(Height, height) |
- DECLARE_ANIMATED_LENGTH(Rx, rx) |
- DECLARE_ANIMATED_LENGTH(Ry, ry) |
END_DECLARE_ANIMATED_PROPERTIES |
}; |