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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 supportedAttributes.add(SVGNames::elevationAttr); | 92 supportedAttributes.add(SVGNames::elevationAttr); |
93 supportedAttributes.add(SVGNames::xAttr); | 93 supportedAttributes.add(SVGNames::xAttr); |
94 supportedAttributes.add(SVGNames::yAttr); | 94 supportedAttributes.add(SVGNames::yAttr); |
95 supportedAttributes.add(SVGNames::zAttr); | 95 supportedAttributes.add(SVGNames::zAttr); |
96 supportedAttributes.add(SVGNames::pointsAtXAttr); | 96 supportedAttributes.add(SVGNames::pointsAtXAttr); |
97 supportedAttributes.add(SVGNames::pointsAtYAttr); | 97 supportedAttributes.add(SVGNames::pointsAtYAttr); |
98 supportedAttributes.add(SVGNames::pointsAtZAttr); | 98 supportedAttributes.add(SVGNames::pointsAtZAttr); |
99 supportedAttributes.add(SVGNames::specularExponentAttr); | 99 supportedAttributes.add(SVGNames::specularExponentAttr); |
100 supportedAttributes.add(SVGNames::limitingConeAngleAttr); | 100 supportedAttributes.add(SVGNames::limitingConeAngleAttr); |
101 } | 101 } |
102 return supportedAttributes.contains<QualifiedName, SVGAttributeHashTranslato
r>(attrName); | 102 return supportedAttributes.contains<SVGAttributeHashTranslator>(attrName); |
103 } | 103 } |
104 | 104 |
105 void SVGFELightElement::parseAttribute(const QualifiedName& name, const AtomicSt
ring& value) | 105 void SVGFELightElement::parseAttribute(const QualifiedName& name, const AtomicSt
ring& value) |
106 { | 106 { |
107 if (!isSupportedAttribute(name)) { | 107 if (!isSupportedAttribute(name)) { |
108 SVGElement::parseAttribute(name, value); | 108 SVGElement::parseAttribute(name, value); |
109 return; | 109 return; |
110 } | 110 } |
111 | 111 |
112 if (name == SVGNames::azimuthAttr) { | 112 if (name == SVGNames::azimuthAttr) { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 if (!changedByParser) { | 210 if (!changedByParser) { |
211 if (ContainerNode* parent = parentNode()) { | 211 if (ContainerNode* parent = parentNode()) { |
212 RenderObject* renderer = parent->renderer(); | 212 RenderObject* renderer = parent->renderer(); |
213 if (renderer && renderer->isSVGResourceFilterPrimitive()) | 213 if (renderer && renderer->isSVGResourceFilterPrimitive()) |
214 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); | 214 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re
nderer); |
215 } | 215 } |
216 } | 216 } |
217 } | 217 } |
218 | 218 |
219 } | 219 } |
OLD | NEW |