| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 static PassRefPtr<SVGFEConvolveMatrixElement> create(Document&); | 68 static PassRefPtr<SVGFEConvolveMatrixElement> create(Document&); |
| 69 | 69 |
| 70 void setOrder(float orderX, float orderY); | 70 void setOrder(float orderX, float orderY); |
| 71 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); | 71 void setKernelUnitLength(float kernelUnitLengthX, float kernelUnitLengthY); |
| 72 | 72 |
| 73 private: | 73 private: |
| 74 explicit SVGFEConvolveMatrixElement(Document&); | 74 explicit SVGFEConvolveMatrixElement(Document&); |
| 75 | 75 |
| 76 bool isSupportedAttribute(const QualifiedName&); | 76 bool isSupportedAttribute(const QualifiedName&); |
| 77 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 77 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 78 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); | 78 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O
VERRIDE; |
| 79 virtual void svgAttributeChanged(const QualifiedName&); | 79 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
| 80 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 80 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE; |
| 81 | 81 |
| 82 static const AtomicString& orderXIdentifier(); | 82 static const AtomicString& orderXIdentifier(); |
| 83 static const AtomicString& orderYIdentifier(); | 83 static const AtomicString& orderYIdentifier(); |
| 84 static const AtomicString& kernelUnitLengthXIdentifier(); | 84 static const AtomicString& kernelUnitLengthXIdentifier(); |
| 85 static const AtomicString& kernelUnitLengthYIdentifier(); | 85 static const AtomicString& kernelUnitLengthYIdentifier(); |
| 86 | 86 |
| 87 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEConvolveMatrixElement) | 87 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEConvolveMatrixElement) |
| 88 DECLARE_ANIMATED_STRING(In1, in1) | 88 DECLARE_ANIMATED_STRING(In1, in1) |
| 89 DECLARE_ANIMATED_INTEGER(OrderX, orderX) | 89 DECLARE_ANIMATED_INTEGER(OrderX, orderX) |
| 90 DECLARE_ANIMATED_INTEGER(OrderY, orderY) | 90 DECLARE_ANIMATED_INTEGER(OrderY, orderY) |
| 91 DECLARE_ANIMATED_NUMBER_LIST(KernelMatrix, kernelMatrix) | 91 DECLARE_ANIMATED_NUMBER_LIST(KernelMatrix, kernelMatrix) |
| 92 DECLARE_ANIMATED_NUMBER(Divisor, divisor) | 92 DECLARE_ANIMATED_NUMBER(Divisor, divisor) |
| 93 DECLARE_ANIMATED_NUMBER(Bias, bias) | 93 DECLARE_ANIMATED_NUMBER(Bias, bias) |
| 94 DECLARE_ANIMATED_INTEGER(TargetX, targetX) | 94 DECLARE_ANIMATED_INTEGER(TargetX, targetX) |
| 95 DECLARE_ANIMATED_INTEGER(TargetY, targetY) | 95 DECLARE_ANIMATED_INTEGER(TargetY, targetY) |
| 96 DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType) | 96 DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType) |
| 97 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) | 97 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) |
| 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) | 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) |
| 99 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) | 99 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) |
| 100 END_DECLARE_ANIMATED_PROPERTIES | 100 END_DECLARE_ANIMATED_PROPERTIES |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace WebCore | 103 } // namespace WebCore |
| 104 | 104 |
| 105 #endif | 105 #endif |
| OLD | NEW |