OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 RefPtr<SVGAnimatedNumber> m_x; | 76 RefPtr<SVGAnimatedNumber> m_x; |
77 RefPtr<SVGAnimatedNumber> m_y; | 77 RefPtr<SVGAnimatedNumber> m_y; |
78 RefPtr<SVGAnimatedNumber> m_z; | 78 RefPtr<SVGAnimatedNumber> m_z; |
79 RefPtr<SVGAnimatedNumber> m_pointsAtX; | 79 RefPtr<SVGAnimatedNumber> m_pointsAtX; |
80 RefPtr<SVGAnimatedNumber> m_pointsAtY; | 80 RefPtr<SVGAnimatedNumber> m_pointsAtY; |
81 RefPtr<SVGAnimatedNumber> m_pointsAtZ; | 81 RefPtr<SVGAnimatedNumber> m_pointsAtZ; |
82 RefPtr<SVGAnimatedNumber> m_specularExponent; | 82 RefPtr<SVGAnimatedNumber> m_specularExponent; |
83 RefPtr<SVGAnimatedNumber> m_limitingConeAngle; | 83 RefPtr<SVGAnimatedNumber> m_limitingConeAngle; |
84 }; | 84 }; |
85 | 85 |
86 inline bool isSVGFELightElement(const Node& node) | 86 inline bool isSVGFELightElement(const SVGElement& element) |
87 { | 87 { |
88 return node.hasTagName(SVGNames::feDistantLightTag) || node.hasTagName(SVGNa
mes::fePointLightTag) || node.hasTagName(SVGNames::feSpotLightTag); | 88 return element.hasTagName(SVGNames::feDistantLightTag) || element.hasTagName
(SVGNames::fePointLightTag) || element.hasTagName(SVGNames::feSpotLightTag); |
89 } | 89 } |
90 | 90 |
91 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement); | 91 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement); |
92 | 92 |
93 } // namespace blink | 93 } // namespace blink |
94 | 94 |
95 #endif | 95 #endif |
OLD | NEW |