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 14 matching lines...) Expand all Loading... |
25 #include "core/SVGNames.h" | 25 #include "core/SVGNames.h" |
26 #include "core/svg/SVGAnimatedNumber.h" | 26 #include "core/svg/SVGAnimatedNumber.h" |
27 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" | 27 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" |
28 #include "core/svg/SVGFELightElement.h" | 28 #include "core/svg/SVGFELightElement.h" |
29 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 29 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
30 #include "platform/graphics/filters/FESpecularLighting.h" | 30 #include "platform/graphics/filters/FESpecularLighting.h" |
31 | 31 |
32 namespace blink { | 32 namespace blink { |
33 | 33 |
34 class SVGFESpecularLightingElement FINAL : public SVGFilterPrimitiveStandardAttr
ibutes { | 34 class SVGFESpecularLightingElement FINAL : public SVGFilterPrimitiveStandardAttr
ibutes { |
| 35 DEFINE_WRAPPERTYPEINFO(); |
35 public: | 36 public: |
36 DECLARE_NODE_FACTORY(SVGFESpecularLightingElement); | 37 DECLARE_NODE_FACTORY(SVGFESpecularLightingElement); |
37 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); | 38 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); |
38 | 39 |
39 SVGAnimatedNumber* specularConstant() { return m_specularConstant.get(); } | 40 SVGAnimatedNumber* specularConstant() { return m_specularConstant.get(); } |
40 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } | 41 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } |
41 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } | 42 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } |
42 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } | 43 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } |
43 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } | 44 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } |
44 SVGAnimatedString* in1() { return m_in1.get(); } | 45 SVGAnimatedString* in1() { return m_in1.get(); } |
(...skipping 11 matching lines...) Expand all Loading... |
56 | 57 |
57 RefPtr<SVGAnimatedNumber> m_specularConstant; | 58 RefPtr<SVGAnimatedNumber> m_specularConstant; |
58 RefPtr<SVGAnimatedNumber> m_specularExponent; | 59 RefPtr<SVGAnimatedNumber> m_specularExponent; |
59 RefPtr<SVGAnimatedNumber> m_surfaceScale; | 60 RefPtr<SVGAnimatedNumber> m_surfaceScale; |
60 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 61 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
61 RefPtr<SVGAnimatedString> m_in1; | 62 RefPtr<SVGAnimatedString> m_in1; |
62 }; | 63 }; |
63 | 64 |
64 } // namespace blink | 65 } // namespace blink |
65 | 66 |
66 #endif | 67 #endif // SVGFESpecularLightingElement_h |
OLD | NEW |