OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Oliver Hunt <oliver@nerget.com> | 2 * Copyright (C) 2006 Oliver Hunt <oliver@nerget.com> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "core/svg/SVGAnimatedEnumeration.h" | 23 #include "core/svg/SVGAnimatedEnumeration.h" |
24 #include "core/svg/SVGAnimatedNumber.h" | 24 #include "core/svg/SVGAnimatedNumber.h" |
25 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 25 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
26 #include "platform/graphics/filters/FEDisplacementMap.h" | 26 #include "platform/graphics/filters/FEDisplacementMap.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ChannelSele
ctorType>(); | 30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<ChannelSele
ctorType>(); |
31 | 31 |
32 class SVGFEDisplacementMapElement FINAL : public SVGFilterPrimitiveStandardAttri
butes { | 32 class SVGFEDisplacementMapElement FINAL : public SVGFilterPrimitiveStandardAttri
butes { |
| 33 DEFINE_WRAPPERTYPEINFO(); |
33 public: | 34 public: |
34 DECLARE_NODE_FACTORY(SVGFEDisplacementMapElement); | 35 DECLARE_NODE_FACTORY(SVGFEDisplacementMapElement); |
35 | 36 |
36 static ChannelSelectorType stringToChannel(const String&); | 37 static ChannelSelectorType stringToChannel(const String&); |
37 | 38 |
38 SVGAnimatedNumber* scale() { return m_scale.get(); } | 39 SVGAnimatedNumber* scale() { return m_scale.get(); } |
39 SVGAnimatedString* in1() { return m_in1.get(); } | 40 SVGAnimatedString* in1() { return m_in1.get(); } |
40 SVGAnimatedString* in2() { return m_in2.get(); } | 41 SVGAnimatedString* in2() { return m_in2.get(); } |
41 SVGAnimatedEnumeration<ChannelSelectorType>* xChannelSelector() { return m_x
ChannelSelector.get(); } | 42 SVGAnimatedEnumeration<ChannelSelectorType>* xChannelSelector() { return m_x
ChannelSelector.get(); } |
42 SVGAnimatedEnumeration<ChannelSelectorType>* yChannelSelector() { return m_y
ChannelSelector.get(); } | 43 SVGAnimatedEnumeration<ChannelSelectorType>* yChannelSelector() { return m_y
ChannelSelector.get(); } |
(...skipping 10 matching lines...) Expand all Loading... |
53 RefPtr<SVGAnimatedNumber> m_scale; | 54 RefPtr<SVGAnimatedNumber> m_scale; |
54 RefPtr<SVGAnimatedString> m_in1; | 55 RefPtr<SVGAnimatedString> m_in1; |
55 RefPtr<SVGAnimatedString> m_in2; | 56 RefPtr<SVGAnimatedString> m_in2; |
56 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector; | 57 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_xChannelSelector; |
57 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector; | 58 RefPtr<SVGAnimatedEnumeration<ChannelSelectorType> > m_yChannelSelector; |
58 }; | 59 }; |
59 | 60 |
60 } // namespace blink | 61 } // namespace blink |
61 | 62 |
62 #endif // SVGFEDisplacementMapElement_h | 63 #endif // SVGFEDisplacementMapElement_h |
OLD | NEW |