| 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* elementFromLayoutObject(LayoutObject&); | |
| 36 | |
| 37 SVGAnimatedLengthList* x() { return m_x.get(); } | 35 SVGAnimatedLengthList* x() { return m_x.get(); } |
| 38 SVGAnimatedLengthList* y() { return m_y.get(); } | 36 SVGAnimatedLengthList* y() { return m_y.get(); } |
| 39 SVGAnimatedLengthList* dx() { return m_dx.get(); } | 37 SVGAnimatedLengthList* dx() { return m_dx.get(); } |
| 40 SVGAnimatedLengthList* dy() { return m_dy.get(); } | 38 SVGAnimatedLengthList* dy() { return m_dy.get(); } |
| 41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } | 39 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } |
| 42 | 40 |
| 43 DECLARE_VIRTUAL_TRACE(); | 41 DECLARE_VIRTUAL_TRACE(); |
| 44 | 42 |
| 45 protected: | 43 protected: |
| 46 SVGTextPositioningElement(const QualifiedName&, Document&); | 44 SVGTextPositioningElement(const QualifiedName&, Document&); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 58 inline bool isSVGTextPositioningElement(const SVGElement& element) | 56 inline bool isSVGTextPositioningElement(const SVGElement& element) |
| 59 { | 57 { |
| 60 return element.isTextPositioning(); | 58 return element.isTextPositioning(); |
| 61 } | 59 } |
| 62 | 60 |
| 63 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); | 61 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); |
| 64 | 62 |
| 65 } // namespace blink | 63 } // namespace blink |
| 66 | 64 |
| 67 #endif // SVGTextPositioningElement_h | 65 #endif // SVGTextPositioningElement_h |
| OLD | NEW |