| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 if (value == "duplicate") | 57 if (value == "duplicate") |
| 58 return EDGEMODE_DUPLICATE; | 58 return EDGEMODE_DUPLICATE; |
| 59 if (value == "wrap") | 59 if (value == "wrap") |
| 60 return EDGEMODE_WRAP; | 60 return EDGEMODE_WRAP; |
| 61 if (value == "none") | 61 if (value == "none") |
| 62 return EDGEMODE_NONE; | 62 return EDGEMODE_NONE; |
| 63 return EDGEMODE_UNKNOWN; | 63 return EDGEMODE_UNKNOWN; |
| 64 } | 64 } |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 class SVGFEConvolveMatrixElement : public SVGFilterPrimitiveStandardAttributes { | 67 class SVGFEConvolveMatrixElement FINAL : public SVGFilterPrimitiveStandardAttrib
utes { |
| 68 public: | 68 public: |
| 69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, D
ocument*); | 69 static PassRefPtr<SVGFEConvolveMatrixElement> create(const QualifiedName&, D
ocument*); |
| 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 private: | 74 private: |
| 75 SVGFEConvolveMatrixElement(const QualifiedName&, Document*); | 75 SVGFEConvolveMatrixElement(const QualifiedName&, Document*); |
| 76 | 76 |
| 77 bool isSupportedAttribute(const QualifiedName&); | 77 bool isSupportedAttribute(const QualifiedName&); |
| (...skipping 20 matching lines...) Expand all Loading... |
| 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) | 98 DECLARE_ANIMATED_NUMBER(KernelUnitLengthX, kernelUnitLengthX) |
| 99 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) | 99 DECLARE_ANIMATED_NUMBER(KernelUnitLengthY, kernelUnitLengthY) |
| 100 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) | 100 DECLARE_ANIMATED_BOOLEAN(PreserveAlpha, preserveAlpha) |
| 101 END_DECLARE_ANIMATED_PROPERTIES | 101 END_DECLARE_ANIMATED_PROPERTIES |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 } // namespace WebCore | 104 } // namespace WebCore |
| 105 | 105 |
| 106 #endif // ENABLE(SVG) | 106 #endif // ENABLE(SVG) |
| 107 #endif | 107 #endif |
| OLD | NEW |