| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 addToPropertyMap(m_azimuth); | 52 addToPropertyMap(m_azimuth); |
| 53 addToPropertyMap(m_elevation); | 53 addToPropertyMap(m_elevation); |
| 54 addToPropertyMap(m_x); | 54 addToPropertyMap(m_x); |
| 55 addToPropertyMap(m_y); | 55 addToPropertyMap(m_y); |
| 56 addToPropertyMap(m_z); | 56 addToPropertyMap(m_z); |
| 57 addToPropertyMap(m_pointsAtX); | 57 addToPropertyMap(m_pointsAtX); |
| 58 addToPropertyMap(m_pointsAtY); | 58 addToPropertyMap(m_pointsAtY); |
| 59 addToPropertyMap(m_pointsAtZ); | 59 addToPropertyMap(m_pointsAtZ); |
| 60 addToPropertyMap(m_specularExponent); | 60 addToPropertyMap(m_specularExponent); |
| 61 addToPropertyMap(m_limitingConeAngle); | 61 addToPropertyMap(m_limitingConeAngle); |
| 62 registerAnimatedPropertiesForSVGFELightElement(); | |
| 63 } | 62 } |
| 64 | 63 |
| 65 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement* svgElem
ent) | 64 SVGFELightElement* SVGFELightElement::findLightElement(const SVGElement* svgElem
ent) |
| 66 { | 65 { |
| 67 for (Node* node = svgElement->firstChild(); node; node = node->nextSibling()
) { | 66 for (Node* node = svgElement->firstChild(); node; node = node->nextSibling()
) { |
| 68 if (isSVGFELightElement(*node)) | 67 if (isSVGFELightElement(*node)) |
| 69 return toSVGFELightElement(node); | 68 return toSVGFELightElement(node); |
| 70 } | 69 } |
| 71 return 0; | 70 return 0; |
| 72 } | 71 } |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 if (!changedByParser) { | 177 if (!changedByParser) { |
| 179 if (ContainerNode* parent = parentNode()) { | 178 if (ContainerNode* parent = parentNode()) { |
| 180 RenderObject* renderer = parent->renderer(); | 179 RenderObject* renderer = parent->renderer(); |
| 181 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 180 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
| 182 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); | 181 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); |
| 183 } | 182 } |
| 184 } | 183 } |
| 185 } | 184 } |
| 186 | 185 |
| 187 } | 186 } |
| OLD | NEW |