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, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 SVGPatternElement(const QualifiedName&, Document*); | 56 SVGPatternElement(const QualifiedName&, Document*); |
57 | 57 |
58 virtual bool isValid() const { return SVGTests::isValid(); } | 58 virtual bool isValid() const { return SVGTests::isValid(); } |
59 virtual bool needsPendingResourceHandling() const { return false; } | 59 virtual bool needsPendingResourceHandling() const { return false; } |
60 | 60 |
61 bool isSupportedAttribute(const QualifiedName&); | 61 bool isSupportedAttribute(const QualifiedName&); |
62 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 62 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
63 virtual void svgAttributeChanged(const QualifiedName&); | 63 virtual void svgAttributeChanged(const QualifiedName&); |
64 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 64 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
65 | 65 |
66 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 66 virtual RenderObject* createRenderer(RenderStyle*); |
67 | 67 |
68 virtual bool selfHasRelativeLengths() const; | 68 virtual bool selfHasRelativeLengths() const; |
69 | 69 |
70 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement) | 70 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPatternElement) |
71 DECLARE_ANIMATED_LENGTH(X, x) | 71 DECLARE_ANIMATED_LENGTH(X, x) |
72 DECLARE_ANIMATED_LENGTH(Y, y) | 72 DECLARE_ANIMATED_LENGTH(Y, y) |
73 DECLARE_ANIMATED_LENGTH(Width, width) | 73 DECLARE_ANIMATED_LENGTH(Width, width) |
74 DECLARE_ANIMATED_LENGTH(Height, height) | 74 DECLARE_ANIMATED_LENGTH(Height, height) |
75 DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::S
VGUnitType) | 75 DECLARE_ANIMATED_ENUMERATION(PatternUnits, patternUnits, SVGUnitTypes::S
VGUnitType) |
76 DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, S
VGUnitTypes::SVGUnitType) | 76 DECLARE_ANIMATED_ENUMERATION(PatternContentUnits, patternContentUnits, S
VGUnitTypes::SVGUnitType) |
77 DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform) | 77 DECLARE_ANIMATED_TRANSFORM_LIST(PatternTransform, patternTransform) |
78 DECLARE_ANIMATED_STRING(Href, href) | 78 DECLARE_ANIMATED_STRING(Href, href) |
79 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 79 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
80 DECLARE_ANIMATED_RECT(ViewBox, viewBox) | 80 DECLARE_ANIMATED_RECT(ViewBox, viewBox) |
81 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) | 81 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) |
82 END_DECLARE_ANIMATED_PROPERTIES | 82 END_DECLARE_ANIMATED_PROPERTIES |
83 | 83 |
84 // SVGTests | 84 // SVGTests |
85 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 85 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
86 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 86 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
87 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 87 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
88 }; | 88 }; |
89 | 89 |
90 } // namespace WebCore | 90 } // namespace WebCore |
91 | 91 |
92 #endif | 92 #endif |
OLD | NEW |