Index: Source/core/svg/SVGRectElement.h |
diff --git a/Source/core/svg/SVGRectElement.h b/Source/core/svg/SVGRectElement.h |
index 1a500884f4e959da3c1591f7c4a887c35293c7af..9ae3e6ddbe8b63d308d9540d807835e2ff4d9b75 100644 |
--- a/Source/core/svg/SVGRectElement.h |
+++ b/Source/core/svg/SVGRectElement.h |
@@ -34,6 +34,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&); |
@@ -48,13 +55,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) |
DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesRequired) |
END_DECLARE_ANIMATED_PROPERTIES |
}; |