| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 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 14 matching lines...) Expand all Loading... |
| 25 #include "core/platform/graphics/filters/FEOffset.h" | 25 #include "core/platform/graphics/filters/FEOffset.h" |
| 26 #include "core/svg/SVGAnimatedNumber.h" | 26 #include "core/svg/SVGAnimatedNumber.h" |
| 27 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" | 27 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" |
| 28 | 28 |
| 29 namespace WebCore { | 29 namespace WebCore { |
| 30 | 30 |
| 31 class SVGFEOffsetElement : public SVGFilterPrimitiveStandardAttributes { | 31 class SVGFEOffsetElement : public SVGFilterPrimitiveStandardAttributes { |
| 32 public: | 32 public: |
| 33 static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, const Han
dle<Document>&); | 33 static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, const Han
dle<Document>&); |
| 34 | 34 |
| 35 virtual void accept(Visitor* visitor) const OVERRIDE { SVGFilterPrimitiveSta
ndardAttributes::accept(visitor); } |
| 36 |
| 35 private: | 37 private: |
| 36 SVGFEOffsetElement(const QualifiedName&, const Handle<Document>&); | 38 SVGFEOffsetElement(const QualifiedName&, const Handle<Document>&); |
| 37 | 39 |
| 38 bool isSupportedAttribute(const QualifiedName&); | 40 bool isSupportedAttribute(const QualifiedName&); |
| 39 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 40 virtual void svgAttributeChanged(const QualifiedName&); | 42 virtual void svgAttributeChanged(const QualifiedName&); |
| 41 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 43 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); |
| 42 | 44 |
| 43 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement) | 45 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement) |
| 44 DECLARE_ANIMATED_STRING(In1, in1) | 46 DECLARE_ANIMATED_STRING(In1, in1) |
| 45 DECLARE_ANIMATED_NUMBER(Dx, dx) | 47 DECLARE_ANIMATED_NUMBER(Dx, dx) |
| 46 DECLARE_ANIMATED_NUMBER(Dy, dy) | 48 DECLARE_ANIMATED_NUMBER(Dy, dy) |
| 47 END_DECLARE_ANIMATED_PROPERTIES | 49 END_DECLARE_ANIMATED_PROPERTIES |
| 48 }; | 50 }; |
| 49 | 51 |
| 50 } // namespace WebCore | 52 } // namespace WebCore |
| 51 | 53 |
| 52 #endif // ENABLE(SVG) | 54 #endif // ENABLE(SVG) |
| 53 #endif | 55 #endif |
| OLD | NEW |