OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 CheckEnclosure | 157 CheckEnclosure |
158 }; | 158 }; |
159 | 159 |
160 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check
IntersectionOrEnclosure) const; | 160 bool checkIntersectionOrEnclosure(const SVGElement&, const FloatRect&, Check
IntersectionOrEnclosure) const; |
161 PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SV
GElement*, CheckIntersectionOrEnclosure) const; | 161 PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SV
GElement*, CheckIntersectionOrEnclosure) const; |
162 | 162 |
163 RefPtr<SVGAnimatedLength> m_x; | 163 RefPtr<SVGAnimatedLength> m_x; |
164 RefPtr<SVGAnimatedLength> m_y; | 164 RefPtr<SVGAnimatedLength> m_y; |
165 RefPtr<SVGAnimatedLength> m_width; | 165 RefPtr<SVGAnimatedLength> m_width; |
166 RefPtr<SVGAnimatedLength> m_height; | 166 RefPtr<SVGAnimatedLength> m_height; |
167 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSVGElement) | |
168 END_DECLARE_ANIMATED_PROPERTIES | |
169 | 167 |
170 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; | 168 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const OVERRIDE; |
171 | 169 |
172 bool m_useCurrentView; | 170 bool m_useCurrentView; |
173 RefPtr<SMILTimeContainer> m_timeContainer; | 171 RefPtr<SMILTimeContainer> m_timeContainer; |
174 RefPtr<SVGPoint> m_translation; | 172 RefPtr<SVGPoint> m_translation; |
175 RefPtr<SVGViewSpec> m_viewSpec; | 173 RefPtr<SVGViewSpec> m_viewSpec; |
176 | 174 |
177 friend class SVGCurrentTranslateTearOff; | 175 friend class SVGCurrentTranslateTearOff; |
178 }; | 176 }; |
179 | 177 |
180 inline bool isSVGSVGElement(const Node& node) | 178 inline bool isSVGSVGElement(const Node& node) |
181 { | 179 { |
182 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement(); | 180 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement(); |
183 } | 181 } |
184 | 182 |
185 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement); | 183 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement); |
186 | 184 |
187 } // namespace WebCore | 185 } // namespace WebCore |
188 | 186 |
189 #endif | 187 #endif |
OLD | NEW |