OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 bool collectGradientAttributes(LinearGradientAttributes&); | 35 bool collectGradientAttributes(LinearGradientAttributes&); |
36 | 36 |
37 private: | 37 private: |
38 SVGLinearGradientElement(const QualifiedName&, Document*); | 38 SVGLinearGradientElement(const QualifiedName&, Document*); |
39 | 39 |
40 bool isSupportedAttribute(const QualifiedName&); | 40 bool isSupportedAttribute(const QualifiedName&); |
41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 41 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
42 virtual void svgAttributeChanged(const QualifiedName&); | 42 virtual void svgAttributeChanged(const QualifiedName&); |
43 | 43 |
44 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 44 virtual RenderObject* createRenderer(RenderStyle*); |
45 | 45 |
46 virtual bool selfHasRelativeLengths() const; | 46 virtual bool selfHasRelativeLengths() const; |
47 | 47 |
48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGLinearGradientElement) | 48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGLinearGradientElement) |
49 DECLARE_ANIMATED_LENGTH(X1, x1) | 49 DECLARE_ANIMATED_LENGTH(X1, x1) |
50 DECLARE_ANIMATED_LENGTH(Y1, y1) | 50 DECLARE_ANIMATED_LENGTH(Y1, y1) |
51 DECLARE_ANIMATED_LENGTH(X2, x2) | 51 DECLARE_ANIMATED_LENGTH(X2, x2) |
52 DECLARE_ANIMATED_LENGTH(Y2, y2) | 52 DECLARE_ANIMATED_LENGTH(Y2, y2) |
53 END_DECLARE_ANIMATED_PROPERTIES | 53 END_DECLARE_ANIMATED_PROPERTIES |
54 }; | 54 }; |
55 | 55 |
56 } // namespace WebCore | 56 } // namespace WebCore |
57 | 57 |
58 #endif | 58 #endif |
OLD | NEW |