| 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 15 matching lines...) Expand all Loading... |
| 26 #include "SVGNames.h" | 26 #include "SVGNames.h" |
| 27 #include "core/rendering/RenderObject.h" | 27 #include "core/rendering/RenderObject.h" |
| 28 #include "core/rendering/svg/RenderSVGResource.h" | 28 #include "core/rendering/svg/RenderSVGResource.h" |
| 29 #include "core/svg/SVGElementInstance.h" | 29 #include "core/svg/SVGElementInstance.h" |
| 30 #include "core/svg/SVGFEDiffuseLightingElement.h" | 30 #include "core/svg/SVGFEDiffuseLightingElement.h" |
| 31 #include "core/svg/SVGFESpecularLightingElement.h" | 31 #include "core/svg/SVGFESpecularLightingElement.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 // Animated property definitions | 35 // Animated property definitions |
| 36 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFELightElement) | |
| 37 END_REGISTER_ANIMATED_PROPERTIES | |
| 38 | 36 |
| 39 SVGFELightElement::SVGFELightElement(const QualifiedName& tagName, Document& doc
ument) | 37 SVGFELightElement::SVGFELightElement(const QualifiedName& tagName, Document& doc
ument) |
| 40 : SVGElement(tagName, document) | 38 : SVGElement(tagName, document) |
| 41 , m_azimuth(SVGAnimatedNumber::create(this, SVGNames::azimuthAttr, SVGNumber
::create())) | 39 , m_azimuth(SVGAnimatedNumber::create(this, SVGNames::azimuthAttr, SVGNumber
::create())) |
| 42 , m_elevation(SVGAnimatedNumber::create(this, SVGNames::elevationAttr, SVGNu
mber::create())) | 40 , m_elevation(SVGAnimatedNumber::create(this, SVGNames::elevationAttr, SVGNu
mber::create())) |
| 43 , m_x(SVGAnimatedNumber::create(this, SVGNames::xAttr, SVGNumber::create())) | 41 , m_x(SVGAnimatedNumber::create(this, SVGNames::xAttr, SVGNumber::create())) |
| 44 , m_y(SVGAnimatedNumber::create(this, SVGNames::yAttr, SVGNumber::create())) | 42 , m_y(SVGAnimatedNumber::create(this, SVGNames::yAttr, SVGNumber::create())) |
| 45 , m_z(SVGAnimatedNumber::create(this, SVGNames::zAttr, SVGNumber::create())) | 43 , m_z(SVGAnimatedNumber::create(this, SVGNames::zAttr, SVGNumber::create())) |
| 46 , m_pointsAtX(SVGAnimatedNumber::create(this, SVGNames::pointsAtXAttr, SVGNu
mber::create())) | 44 , m_pointsAtX(SVGAnimatedNumber::create(this, SVGNames::pointsAtXAttr, SVGNu
mber::create())) |
| 47 , m_pointsAtY(SVGAnimatedNumber::create(this, SVGNames::pointsAtYAttr, SVGNu
mber::create())) | 45 , m_pointsAtY(SVGAnimatedNumber::create(this, SVGNames::pointsAtYAttr, SVGNu
mber::create())) |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 if (!changedByParser) { | 175 if (!changedByParser) { |
| 178 if (ContainerNode* parent = parentNode()) { | 176 if (ContainerNode* parent = parentNode()) { |
| 179 RenderObject* renderer = parent->renderer(); | 177 RenderObject* renderer = parent->renderer(); |
| 180 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 178 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
| 181 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); | 179 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); |
| 182 } | 180 } |
| 183 } | 181 } |
| 184 } | 182 } |
| 185 | 183 |
| 186 } | 184 } |
| OLD | NEW |