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 10 matching lines...) Expand all Loading... |
21 #ifndef SVGFEOffsetElement_h | 21 #ifndef SVGFEOffsetElement_h |
22 #define SVGFEOffsetElement_h | 22 #define SVGFEOffsetElement_h |
23 | 23 |
24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
25 #include "SVGAnimatedNumber.h" | 25 #include "SVGAnimatedNumber.h" |
26 #include "SVGFilterPrimitiveStandardAttributes.h" | 26 #include "SVGFilterPrimitiveStandardAttributes.h" |
27 #include "core/platform/graphics/filters/FEOffset.h" | 27 #include "core/platform/graphics/filters/FEOffset.h" |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
31 class SVGFEOffsetElement : public SVGFilterPrimitiveStandardAttributes { | 31 class SVGFEOffsetElement FINAL : public SVGFilterPrimitiveStandardAttributes { |
32 public: | 32 public: |
33 static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, Document*
); | 33 static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, Document*
); |
34 | 34 |
35 private: | 35 private: |
36 SVGFEOffsetElement(const QualifiedName&, Document*); | 36 SVGFEOffsetElement(const QualifiedName&, Document*); |
37 | 37 |
38 bool isSupportedAttribute(const QualifiedName&); | 38 bool isSupportedAttribute(const QualifiedName&); |
39 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 39 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
40 virtual void svgAttributeChanged(const QualifiedName&); | 40 virtual void svgAttributeChanged(const QualifiedName&); |
41 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); | 41 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); |
42 | 42 |
43 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement) | 43 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement) |
44 DECLARE_ANIMATED_STRING(In1, in1) | 44 DECLARE_ANIMATED_STRING(In1, in1) |
45 DECLARE_ANIMATED_NUMBER(Dx, dx) | 45 DECLARE_ANIMATED_NUMBER(Dx, dx) |
46 DECLARE_ANIMATED_NUMBER(Dy, dy) | 46 DECLARE_ANIMATED_NUMBER(Dy, dy) |
47 END_DECLARE_ANIMATED_PROPERTIES | 47 END_DECLARE_ANIMATED_PROPERTIES |
48 }; | 48 }; |
49 | 49 |
50 } // namespace WebCore | 50 } // namespace WebCore |
51 | 51 |
52 #endif // ENABLE(SVG) | 52 #endif // ENABLE(SVG) |
53 #endif | 53 #endif |
OLD | NEW |