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 "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 WebCore { | 32 namespace WebCore { |
33 | 33 |
34 class SVGFESpecularLightingElement FINAL : public SVGFilterPrimitiveStandardAttr
ibutes { | 34 class SVGFESpecularLightingElement FINAL : public SVGFilterPrimitiveStandardAttr
ibutes { |
35 public: | 35 public: |
36 DEFINE_NODE_FACTORY(SVGFESpecularLightingElement); | 36 DECLARE_NODE_FACTORY(SVGFESpecularLightingElement); |
37 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); | 37 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); |
38 | 38 |
39 SVGAnimatedNumber* specularConstant() { return m_specularConstant.get(); } | 39 SVGAnimatedNumber* specularConstant() { return m_specularConstant.get(); } |
40 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } | 40 SVGAnimatedNumber* specularExponent() { return m_specularExponent.get(); } |
41 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } | 41 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } |
42 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } | 42 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } |
43 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } | 43 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } |
44 SVGAnimatedString* in1() { return m_in1.get(); } | 44 SVGAnimatedString* in1() { return m_in1.get(); } |
45 private: | 45 private: |
46 explicit SVGFESpecularLightingElement(Document&); | 46 explicit SVGFESpecularLightingElement(Document&); |
(...skipping 10 matching lines...) Expand all Loading... |
57 RefPtr<SVGAnimatedNumber> m_specularConstant; | 57 RefPtr<SVGAnimatedNumber> m_specularConstant; |
58 RefPtr<SVGAnimatedNumber> m_specularExponent; | 58 RefPtr<SVGAnimatedNumber> m_specularExponent; |
59 RefPtr<SVGAnimatedNumber> m_surfaceScale; | 59 RefPtr<SVGAnimatedNumber> m_surfaceScale; |
60 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 60 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
61 RefPtr<SVGAnimatedString> m_in1; | 61 RefPtr<SVGAnimatedString> m_in1; |
62 }; | 62 }; |
63 | 63 |
64 } // namespace WebCore | 64 } // namespace WebCore |
65 | 65 |
66 #endif | 66 #endif |
OLD | NEW |