OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 14 matching lines...) Expand all Loading... |
25 #include "core/svg/SVGAnimatedNumber.h" | 25 #include "core/svg/SVGAnimatedNumber.h" |
26 #include "core/svg/SVGAnimatedNumberList.h" | 26 #include "core/svg/SVGAnimatedNumberList.h" |
27 #include "core/svg/SVGElement.h" | 27 #include "core/svg/SVGElement.h" |
28 #include "platform/graphics/filters/FEComponentTransfer.h" | 28 #include "platform/graphics/filters/FEComponentTransfer.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ComponentTr
ansferType>(); | 32 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ComponentTr
ansferType>(); |
33 | 33 |
34 class SVGComponentTransferFunctionElement : public SVGElement { | 34 class SVGComponentTransferFunctionElement : public SVGElement { |
| 35 DEFINE_WRAPPERTYPEINFO(); |
35 public: | 36 public: |
36 ComponentTransferFunction transferFunction() const; | 37 ComponentTransferFunction transferFunction() const; |
37 | 38 |
38 SVGAnimatedNumberList* tableValues() { return m_tableValues.get(); } | 39 SVGAnimatedNumberList* tableValues() { return m_tableValues.get(); } |
39 SVGAnimatedNumber* slope() { return m_slope.get(); } | 40 SVGAnimatedNumber* slope() { return m_slope.get(); } |
40 SVGAnimatedNumber* intercept() { return m_intercept.get(); } | 41 SVGAnimatedNumber* intercept() { return m_intercept.get(); } |
41 SVGAnimatedNumber* amplitude() { return m_amplitude.get(); } | 42 SVGAnimatedNumber* amplitude() { return m_amplitude.get(); } |
42 SVGAnimatedNumber* exponent() { return m_exponent.get(); } | 43 SVGAnimatedNumber* exponent() { return m_exponent.get(); } |
43 SVGAnimatedNumber* offset() { return m_offset.get(); } | 44 SVGAnimatedNumber* offset() { return m_offset.get(); } |
44 SVGAnimatedEnumeration<ComponentTransferType>* type() { return m_type.get();
} | 45 SVGAnimatedEnumeration<ComponentTransferType>* type() { return m_type.get();
} |
(...skipping 12 matching lines...) Expand all Loading... |
57 RefPtr<SVGAnimatedNumber> m_slope; | 58 RefPtr<SVGAnimatedNumber> m_slope; |
58 RefPtr<SVGAnimatedNumber> m_intercept; | 59 RefPtr<SVGAnimatedNumber> m_intercept; |
59 RefPtr<SVGAnimatedNumber> m_amplitude; | 60 RefPtr<SVGAnimatedNumber> m_amplitude; |
60 RefPtr<SVGAnimatedNumber> m_exponent; | 61 RefPtr<SVGAnimatedNumber> m_exponent; |
61 RefPtr<SVGAnimatedNumber> m_offset; | 62 RefPtr<SVGAnimatedNumber> m_offset; |
62 RefPtr<SVGAnimatedEnumeration<ComponentTransferType> > m_type; | 63 RefPtr<SVGAnimatedEnumeration<ComponentTransferType> > m_type; |
63 }; | 64 }; |
64 | 65 |
65 } // namespace blink | 66 } // namespace blink |
66 | 67 |
67 #endif | 68 #endif // SVGComponentTransferFunctionElement_h |
OLD | NEW |