| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 27 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
| 28 | 28 |
| 29 namespace WebCore { | 29 namespace WebCore { |
| 30 | 30 |
| 31 class SVGFEGaussianBlurElement : public SVGFilterPrimitiveStandardAttributes { | 31 class SVGFEGaussianBlurElement : public SVGFilterPrimitiveStandardAttributes { |
| 32 public: | 32 public: |
| 33 static PassRefPtr<SVGFEGaussianBlurElement> create(const QualifiedName&, con
st Handle<Document>&); | 33 static PassRefPtr<SVGFEGaussianBlurElement> create(const QualifiedName&, con
st Handle<Document>&); |
| 34 | 34 |
| 35 void setStdDeviation(float stdDeviationX, float stdDeviationY); | 35 void setStdDeviation(float stdDeviationX, float stdDeviationY); |
| 36 | 36 |
| 37 virtual void accept(Visitor* visitor) const OVERRIDE { SVGFilterPrimitiveSta
ndardAttributes::accept(visitor); } |
| 38 |
| 37 private: | 39 private: |
| 38 SVGFEGaussianBlurElement(const QualifiedName&, const Handle<Document>&); | 40 SVGFEGaussianBlurElement(const QualifiedName&, const Handle<Document>&); |
| 39 | 41 |
| 40 bool isSupportedAttribute(const QualifiedName&); | 42 bool isSupportedAttribute(const QualifiedName&); |
| 41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 42 virtual void svgAttributeChanged(const QualifiedName&); | 44 virtual void svgAttributeChanged(const QualifiedName&); |
| 43 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 45 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); |
| 44 | 46 |
| 45 static const AtomicString& stdDeviationXIdentifier(); | 47 static const AtomicString& stdDeviationXIdentifier(); |
| 46 static const AtomicString& stdDeviationYIdentifier(); | 48 static const AtomicString& stdDeviationYIdentifier(); |
| 47 | 49 |
| 48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEGaussianBlurElement) | 50 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEGaussianBlurElement) |
| 49 DECLARE_ANIMATED_STRING(In1, in1) | 51 DECLARE_ANIMATED_STRING(In1, in1) |
| 50 DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX) | 52 DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX) |
| 51 DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY) | 53 DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY) |
| 52 END_DECLARE_ANIMATED_PROPERTIES | 54 END_DECLARE_ANIMATED_PROPERTIES |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 } // namespace WebCore | 57 } // namespace WebCore |
| 56 | 58 |
| 57 #endif // ENABLE(SVG) | 59 #endif // ENABLE(SVG) |
| 58 #endif | 60 #endif |
| OLD | NEW |