OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "core/svg/SVGAnimatedLengthList.h" | 25 #include "core/svg/SVGAnimatedLengthList.h" |
26 #include "core/svg/SVGAnimatedNumberList.h" | 26 #include "core/svg/SVGAnimatedNumberList.h" |
27 #include "core/svg/SVGTextContentElement.h" | 27 #include "core/svg/SVGTextContentElement.h" |
28 #include "platform/heap/Handle.h" | 28 #include "platform/heap/Handle.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class SVGTextPositioningElement : public SVGTextContentElement { | 32 class SVGTextPositioningElement : public SVGTextContentElement { |
33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
34 public: | 34 public: |
35 static SVGTextPositioningElement* elementFromRenderer(RenderObject&); | 35 static SVGTextPositioningElement* elementFromRenderer(LayoutObject&); |
36 | 36 |
37 SVGAnimatedLengthList* x() { return m_x.get(); } | 37 SVGAnimatedLengthList* x() { return m_x.get(); } |
38 SVGAnimatedLengthList* y() { return m_y.get(); } | 38 SVGAnimatedLengthList* y() { return m_y.get(); } |
39 SVGAnimatedLengthList* dx() { return m_dx.get(); } | 39 SVGAnimatedLengthList* dx() { return m_dx.get(); } |
40 SVGAnimatedLengthList* dy() { return m_dy.get(); } | 40 SVGAnimatedLengthList* dy() { return m_dy.get(); } |
41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } | 41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } |
42 | 42 |
43 virtual void trace(Visitor*) override; | 43 virtual void trace(Visitor*) override; |
44 | 44 |
45 protected: | 45 protected: |
(...skipping 14 matching lines...) Expand all Loading... |
60 inline bool isSVGTextPositioningElement(const SVGElement& element) | 60 inline bool isSVGTextPositioningElement(const SVGElement& element) |
61 { | 61 { |
62 return element.isTextPositioning(); | 62 return element.isTextPositioning(); |
63 } | 63 } |
64 | 64 |
65 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); | 65 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // SVGTextPositioningElement_h | 69 #endif // SVGTextPositioningElement_h |
OLD | NEW |