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 29 matching lines...) Expand all Loading... |
40 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } | 40 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } |
41 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } | 41 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } |
42 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } | 42 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } |
43 SVGAnimatedString* in1() { return m_in1.get(); } | 43 SVGAnimatedString* in1() { return m_in1.get(); } |
44 | 44 |
45 DECLARE_VIRTUAL_TRACE(); | 45 DECLARE_VIRTUAL_TRACE(); |
46 | 46 |
47 private: | 47 private: |
48 explicit SVGFEDiffuseLightingElement(Document&); | 48 explicit SVGFEDiffuseLightingElement(Document&); |
49 | 49 |
50 bool isSupportedAttribute(const QualifiedName&); | |
51 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) o
verride; | 50 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) o
verride; |
52 virtual void svgAttributeChanged(const QualifiedName&) override; | 51 virtual void svgAttributeChanged(const QualifiedName&) override; |
53 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; | 52 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; |
54 | 53 |
55 RefPtrWillBeMember<SVGAnimatedNumber> m_diffuseConstant; | 54 RefPtrWillBeMember<SVGAnimatedNumber> m_diffuseConstant; |
56 RefPtrWillBeMember<SVGAnimatedNumber> m_surfaceScale; | 55 RefPtrWillBeMember<SVGAnimatedNumber> m_surfaceScale; |
57 RefPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 56 RefPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
58 RefPtrWillBeMember<SVGAnimatedString> m_in1; | 57 RefPtrWillBeMember<SVGAnimatedString> m_in1; |
59 }; | 58 }; |
60 | 59 |
61 } // namespace blink | 60 } // namespace blink |
62 | 61 |
63 #endif // SVGFEDiffuseLightingElement_h | 62 #endif // SVGFEDiffuseLightingElement_h |
OLD | NEW |