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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 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 12 matching lines...) Expand all Loading... |
23 #define SVGFEDiffuseLightingElement_h | 23 #define SVGFEDiffuseLightingElement_h |
24 | 24 |
25 #include "SVGNames.h" | 25 #include "SVGNames.h" |
26 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" | 26 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" |
27 #include "core/svg/SVGFELightElement.h" | 27 #include "core/svg/SVGFELightElement.h" |
28 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 28 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class FEDiffuseLighting; | 32 class FEDiffuseLighting; |
33 class SVGColor; | |
34 | 33 |
35 class SVGFEDiffuseLightingElement FINAL : public SVGFilterPrimitiveStandardAttri
butes { | 34 class SVGFEDiffuseLightingElement FINAL : public SVGFilterPrimitiveStandardAttri
butes { |
36 public: | 35 public: |
37 static PassRefPtr<SVGFEDiffuseLightingElement> create(Document&); | 36 static PassRefPtr<SVGFEDiffuseLightingElement> create(Document&); |
38 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); | 37 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedN
ame&); |
39 | 38 |
40 SVGAnimatedNumber* diffuseConstant() { return m_diffuseConstant.get(); } | 39 SVGAnimatedNumber* diffuseConstant() { return m_diffuseConstant.get(); } |
41 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } | 40 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } |
42 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } | 41 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } |
43 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } | 42 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } |
(...skipping 10 matching lines...) Expand all Loading... |
54 | 53 |
55 RefPtr<SVGAnimatedNumber> m_diffuseConstant; | 54 RefPtr<SVGAnimatedNumber> m_diffuseConstant; |
56 RefPtr<SVGAnimatedNumber> m_surfaceScale; | 55 RefPtr<SVGAnimatedNumber> m_surfaceScale; |
57 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 56 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
58 RefPtr<SVGAnimatedString> m_in1; | 57 RefPtr<SVGAnimatedString> m_in1; |
59 }; | 58 }; |
60 | 59 |
61 } // namespace WebCore | 60 } // namespace WebCore |
62 | 61 |
63 #endif | 62 #endif |
OLD | NEW |