| 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 27 matching lines...) Expand all Loading... |
| 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 DECLARE_VIRTUAL_TRACE(); | 43 DECLARE_VIRTUAL_TRACE(); |
| 44 | 44 |
| 45 protected: | 45 protected: |
| 46 SVGTextPositioningElement(const QualifiedName&, Document&); | 46 SVGTextPositioningElement(const QualifiedName&, Document&); |
| 47 | 47 |
| 48 bool isSupportedAttribute(const QualifiedName&); | |
| 49 virtual void svgAttributeChanged(const QualifiedName&) override final; | 48 virtual void svgAttributeChanged(const QualifiedName&) override final; |
| 50 virtual bool isTextPositioning() const override final { return true; } | 49 virtual bool isTextPositioning() const override final { return true; } |
| 51 | 50 |
| 52 RefPtrWillBeMember<SVGAnimatedLengthList> m_x; | 51 RefPtrWillBeMember<SVGAnimatedLengthList> m_x; |
| 53 RefPtrWillBeMember<SVGAnimatedLengthList> m_y; | 52 RefPtrWillBeMember<SVGAnimatedLengthList> m_y; |
| 54 RefPtrWillBeMember<SVGAnimatedLengthList> m_dx; | 53 RefPtrWillBeMember<SVGAnimatedLengthList> m_dx; |
| 55 RefPtrWillBeMember<SVGAnimatedLengthList> m_dy; | 54 RefPtrWillBeMember<SVGAnimatedLengthList> m_dy; |
| 56 RefPtrWillBeMember<SVGAnimatedNumberList> m_rotate; | 55 RefPtrWillBeMember<SVGAnimatedNumberList> m_rotate; |
| 57 }; | 56 }; |
| 58 | 57 |
| 59 inline bool isSVGTextPositioningElement(const SVGElement& element) | 58 inline bool isSVGTextPositioningElement(const SVGElement& element) |
| 60 { | 59 { |
| 61 return element.isTextPositioning(); | 60 return element.isTextPositioning(); |
| 62 } | 61 } |
| 63 | 62 |
| 64 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); | 63 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); |
| 65 | 64 |
| 66 } // namespace blink | 65 } // namespace blink |
| 67 | 66 |
| 68 #endif // SVGTextPositioningElement_h | 67 #endif // SVGTextPositioningElement_h |
| OLD | NEW |