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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } | 43 SVGAnimatedNumber* surfaceScale() { return m_surfaceScale.get(); } |
44 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } | 44 SVGAnimatedNumber* kernelUnitLengthX() { return m_kernelUnitLength->firstNum
ber(); } |
45 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } | 45 SVGAnimatedNumber* kernelUnitLengthY() { return m_kernelUnitLength->secondNu
mber(); } |
46 SVGAnimatedString* in1() { return m_in1.get(); } | 46 SVGAnimatedString* in1() { return m_in1.get(); } |
47 | 47 |
48 DECLARE_VIRTUAL_TRACE(); | 48 DECLARE_VIRTUAL_TRACE(); |
49 | 49 |
50 private: | 50 private: |
51 explicit SVGFESpecularLightingElement(Document&); | 51 explicit SVGFESpecularLightingElement(Document&); |
52 | 52 |
53 bool isSupportedAttribute(const QualifiedName&); | |
54 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) o
verride; | 53 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) o
verride; |
55 virtual void svgAttributeChanged(const QualifiedName&) override; | 54 virtual void svgAttributeChanged(const QualifiedName&) override; |
56 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; | 55 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; |
57 | 56 |
58 static const AtomicString& kernelUnitLengthXIdentifier(); | 57 static const AtomicString& kernelUnitLengthXIdentifier(); |
59 static const AtomicString& kernelUnitLengthYIdentifier(); | 58 static const AtomicString& kernelUnitLengthYIdentifier(); |
60 | 59 |
61 RefPtrWillBeMember<SVGAnimatedNumber> m_specularConstant; | 60 RefPtrWillBeMember<SVGAnimatedNumber> m_specularConstant; |
62 RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent; | 61 RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent; |
63 RefPtrWillBeMember<SVGAnimatedNumber> m_surfaceScale; | 62 RefPtrWillBeMember<SVGAnimatedNumber> m_surfaceScale; |
64 RefPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 63 RefPtrWillBeMember<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
65 RefPtrWillBeMember<SVGAnimatedString> m_in1; | 64 RefPtrWillBeMember<SVGAnimatedString> m_in1; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace blink | 67 } // namespace blink |
69 | 68 |
70 #endif // SVGFESpecularLightingElement_h | 69 #endif // SVGFESpecularLightingElement_h |
OLD | NEW |