| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" | 29 #include "core/svg/SVGAnimatedNumberOptionalNumber.h" |
| 30 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 30 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
| 31 #include "platform/graphics/filters/FEConvolveMatrix.h" | 31 #include "platform/graphics/filters/FEConvolveMatrix.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 template<> const SVGEnumerationStringEntries& getStaticStringEntries<EdgeModeTyp
e>(); | 35 template<> const SVGEnumerationStringEntries& getStaticStringEntries<EdgeModeTyp
e>(); |
| 36 | 36 |
| 37 class SVGFEConvolveMatrixElement FINAL : public SVGFilterPrimitiveStandardAttrib
utes { | 37 class SVGFEConvolveMatrixElement FINAL : public SVGFilterPrimitiveStandardAttrib
utes { |
| 38 public: | 38 public: |
| 39 DEFINE_NODE_FACTORY(SVGFEConvolveMatrixElement); | 39 DECLARE_NODE_FACTORY(SVGFEConvolveMatrixElement); |
| 40 | 40 |
| 41 SVGAnimatedBoolean* preserveAlpha() { return m_preserveAlpha.get(); } | 41 SVGAnimatedBoolean* preserveAlpha() { return m_preserveAlpha.get(); } |
| 42 SVGAnimatedNumber* divisor() { return m_divisor.get(); } | 42 SVGAnimatedNumber* divisor() { return m_divisor.get(); } |
| 43 SVGAnimatedNumber* bias() { return m_bias.get(); } | 43 SVGAnimatedNumber* bias() { return m_bias.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 SVGAnimatedNumberList* kernelMatrix() { return m_kernelMatrix.get(); } | 46 SVGAnimatedNumberList* kernelMatrix() { return m_kernelMatrix.get(); } |
| 47 SVGAnimatedString* in1() { return m_in1.get(); } | 47 SVGAnimatedString* in1() { return m_in1.get(); } |
| 48 SVGAnimatedEnumeration<EdgeModeType>* edgeMode() { return m_edgeMode.get();
} | 48 SVGAnimatedEnumeration<EdgeModeType>* edgeMode() { return m_edgeMode.get();
} |
| 49 SVGAnimatedInteger* orderX() { return m_order->firstInteger(); } | 49 SVGAnimatedInteger* orderX() { return m_order->firstInteger(); } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 68 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; | 68 RefPtr<SVGAnimatedNumberOptionalNumber> m_kernelUnitLength; |
| 69 RefPtr<SVGAnimatedIntegerOptionalInteger> m_order; | 69 RefPtr<SVGAnimatedIntegerOptionalInteger> m_order; |
| 70 RefPtr<SVGAnimatedBoolean> m_preserveAlpha; | 70 RefPtr<SVGAnimatedBoolean> m_preserveAlpha; |
| 71 RefPtr<SVGAnimatedInteger> m_targetX; | 71 RefPtr<SVGAnimatedInteger> m_targetX; |
| 72 RefPtr<SVGAnimatedInteger> m_targetY; | 72 RefPtr<SVGAnimatedInteger> m_targetY; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 } // namespace WebCore | 75 } // namespace WebCore |
| 76 | 76 |
| 77 #endif | 77 #endif |
| OLD | NEW |