OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> | 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 addToPropertyMap(m_x); | 48 addToPropertyMap(m_x); |
49 addToPropertyMap(m_y); | 49 addToPropertyMap(m_y); |
50 addToPropertyMap(m_z); | 50 addToPropertyMap(m_z); |
51 addToPropertyMap(m_pointsAtX); | 51 addToPropertyMap(m_pointsAtX); |
52 addToPropertyMap(m_pointsAtY); | 52 addToPropertyMap(m_pointsAtY); |
53 addToPropertyMap(m_pointsAtZ); | 53 addToPropertyMap(m_pointsAtZ); |
54 addToPropertyMap(m_specularExponent); | 54 addToPropertyMap(m_specularExponent); |
55 addToPropertyMap(m_limitingConeAngle); | 55 addToPropertyMap(m_limitingConeAngle); |
56 } | 56 } |
57 | 57 |
| 58 void SVGFELightElement::trace(Visitor* visitor) |
| 59 { |
| 60 visitor->trace(m_azimuth); |
| 61 visitor->trace(m_elevation); |
| 62 visitor->trace(m_x); |
| 63 visitor->trace(m_y); |
| 64 visitor->trace(m_z); |
| 65 visitor->trace(m_pointsAtX); |
| 66 visitor->trace(m_pointsAtY); |
| 67 visitor->trace(m_pointsAtZ); |
| 68 visitor->trace(m_specularExponent); |
| 69 visitor->trace(m_limitingConeAngle); |
| 70 SVGElement::trace(visitor); |
| 71 } |
| 72 |
58 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement& svgElem
ent) | 73 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement& svgElem
ent) |
59 { | 74 { |
60 return Traversal<SVGFELightElement>::firstChild(svgElement); | 75 return Traversal<SVGFELightElement>::firstChild(svgElement); |
61 } | 76 } |
62 | 77 |
63 FloatPoint3D SVGFELightElement::position() const | 78 FloatPoint3D SVGFELightElement::position() const |
64 { | 79 { |
65 return FloatPoint3D(x()->currentValue()->value(), y()->currentValue()->value
(), z()->currentValue()->value()); | 80 return FloatPoint3D(x()->currentValue()->value(), y()->currentValue()->value
(), z()->currentValue()->value()); |
66 } | 81 } |
67 | 82 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 if (!change.byParser) { | 155 if (!change.byParser) { |
141 if (ContainerNode* parent = parentNode()) { | 156 if (ContainerNode* parent = parentNode()) { |
142 RenderObject* renderer = parent->renderer(); | 157 RenderObject* renderer = parent->renderer(); |
143 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 158 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
144 markForLayoutAndParentResourceInvalidation(renderer); | 159 markForLayoutAndParentResourceInvalidation(renderer); |
145 } | 160 } |
146 } | 161 } |
147 } | 162 } |
148 | 163 |
149 } | 164 } |
OLD | NEW |