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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 } | 64 } |
65 }; | 65 }; |
66 | 66 |
67 class SVGFEConvolveMatrixElement : public SVGFilterPrimitiveStandardAttributes { | 67 class SVGFEConvolveMatrixElement : public SVGFilterPrimitiveStandardAttributes { |
68 public: | 68 public: |
69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, c
onst Handle<Document>&); | 69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, c
onst Handle<Document>&); |
70 | 70 |
71 void setOrder(float orderX, float orderY); | 71 void setOrder(float orderX, float orderY); |
72 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); | 72 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); |
73 | 73 |
| 74 virtual void accept(Visitor* visitor) const OVERRIDE { SVGFilterPrimitiveSta
ndardAttributes::accept(visitor); } |
| 75 |
74 private: | 76 private: |
75 SVGFEConvolveMatrixElement(const QualifiedName&, const Handle<Document>&); | 77 SVGFEConvolveMatrixElement(const QualifiedName&, const Handle<Document>&); |
76 | 78 |
77 bool isSupportedAttribute(const QualifiedName&); | 79 bool isSupportedAttribute(const QualifiedName&); |
78 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 80 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
79 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); | 81 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); |
80 virtual void svgAttributeChanged(const QualifiedName&); | 82 virtual void svgAttributeChanged(const QualifiedName&); |
81 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 83 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); |
82 | 84 |
83 static const AtomicString& orderXIdentifier(); | 85 static const AtomicString& orderXIdentifier(); |
(...skipping 14 matching lines...) Expand all Loading... |
98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) | 100 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) |
99 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) | 101 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) |
100 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) | 102 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) |
101 END_DECLARE_ANIMATED_PROPERTIES | 103 END_DECLARE_ANIMATED_PROPERTIES |
102 }; | 104 }; |
103 | 105 |
104 } // namespace WebCore | 106 } // namespace WebCore |
105 | 107 |
106 #endif // ENABLE(SVG) | 108 #endif // ENABLE(SVG) |
107 #endif | 109 #endif |
OLD | NEW |