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, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 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 29 matching lines...) Expand all Loading... |
40 SVGNames::yAttr, | 40 SVGNames::yAttr, |
41 SVGLengthList::create(SVGLengthMode::Height))), | 41 SVGLengthList::create(SVGLengthMode::Height))), |
42 m_dx(SVGAnimatedLengthList::create( | 42 m_dx(SVGAnimatedLengthList::create( |
43 this, | 43 this, |
44 SVGNames::dxAttr, | 44 SVGNames::dxAttr, |
45 SVGLengthList::create(SVGLengthMode::Width))), | 45 SVGLengthList::create(SVGLengthMode::Width))), |
46 m_dy(SVGAnimatedLengthList::create( | 46 m_dy(SVGAnimatedLengthList::create( |
47 this, | 47 this, |
48 SVGNames::dyAttr, | 48 SVGNames::dyAttr, |
49 SVGLengthList::create(SVGLengthMode::Height))), | 49 SVGLengthList::create(SVGLengthMode::Height))), |
50 m_rotate(SVGAnimatedNumberList::create(this, | 50 m_rotate(SVGAnimatedNumberList::create(this, SVGNames::rotateAttr)) { |
51 SVGNames::rotateAttr, | |
52 SVGNumberList::create())) { | |
53 addToPropertyMap(m_x); | 51 addToPropertyMap(m_x); |
54 addToPropertyMap(m_y); | 52 addToPropertyMap(m_y); |
55 addToPropertyMap(m_dx); | 53 addToPropertyMap(m_dx); |
56 addToPropertyMap(m_dy); | 54 addToPropertyMap(m_dy); |
57 addToPropertyMap(m_rotate); | 55 addToPropertyMap(m_rotate); |
58 } | 56 } |
59 | 57 |
60 DEFINE_TRACE(SVGTextPositioningElement) { | 58 DEFINE_TRACE(SVGTextPositioningElement) { |
61 visitor->trace(m_x); | 59 visitor->trace(m_x); |
62 visitor->trace(m_y); | 60 visitor->trace(m_y); |
(...skipping 23 matching lines...) Expand all Loading... |
86 LayoutSVGText::locateLayoutSVGTextAncestor(layoutObject)) | 84 LayoutSVGText::locateLayoutSVGTextAncestor(layoutObject)) |
87 textLayoutObject->setNeedsPositioningValuesUpdate(); | 85 textLayoutObject->setNeedsPositioningValuesUpdate(); |
88 markForLayoutAndParentResourceInvalidation(layoutObject); | 86 markForLayoutAndParentResourceInvalidation(layoutObject); |
89 return; | 87 return; |
90 } | 88 } |
91 | 89 |
92 SVGTextContentElement::svgAttributeChanged(attrName); | 90 SVGTextContentElement::svgAttributeChanged(attrName); |
93 } | 91 } |
94 | 92 |
95 } // namespace blink | 93 } // namespace blink |
OLD | NEW |