| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 | 136 |
| 137 void svgAttributeChanged(const QualifiedName&) override; | 137 void svgAttributeChanged(const QualifiedName&) override; |
| 138 | 138 |
| 139 bool selfHasRelativeLengths() const override; | 139 bool selfHasRelativeLengths() const override; |
| 140 | 140 |
| 141 bool shouldSynthesizeViewBox() const; | 141 bool shouldSynthesizeViewBox() const; |
| 142 void updateUserTransform(); | 142 void updateUserTransform(); |
| 143 | 143 |
| 144 void finishParsingChildren() override; | 144 void finishParsingChildren() override; |
| 145 | 145 |
| 146 enum CheckIntersectionOrEnclosure { CheckIntersection, CheckEnclosure }; | 146 enum GeometryMatchingMode { CheckIntersection, CheckEnclosure }; |
| 147 | 147 |
| 148 bool checkIntersectionOrEnclosure(const SVGElement&, | 148 bool checkIntersectionOrEnclosure(const SVGElement&, |
| 149 const FloatRect&, | 149 const FloatRect&, |
| 150 CheckIntersectionOrEnclosure) const; | 150 GeometryMatchingMode) const; |
| 151 StaticNodeList* collectIntersectionOrEnclosureList( | 151 StaticNodeList* collectIntersectionOrEnclosureList( |
| 152 const FloatRect&, | 152 const FloatRect&, |
| 153 SVGElement*, | 153 SVGElement*, |
| 154 CheckIntersectionOrEnclosure) const; | 154 GeometryMatchingMode) const; |
| 155 | 155 |
| 156 Member<SVGAnimatedLength> m_x; | 156 Member<SVGAnimatedLength> m_x; |
| 157 Member<SVGAnimatedLength> m_y; | 157 Member<SVGAnimatedLength> m_y; |
| 158 Member<SVGAnimatedLength> m_width; | 158 Member<SVGAnimatedLength> m_width; |
| 159 Member<SVGAnimatedLength> m_height; | 159 Member<SVGAnimatedLength> m_height; |
| 160 | 160 |
| 161 AffineTransform localCoordinateSpaceTransform( | 161 AffineTransform localCoordinateSpaceTransform( |
| 162 SVGElement::CTMScope) const override; | 162 SVGElement::CTMScope) const override; |
| 163 | 163 |
| 164 Member<SMILTimeContainer> m_timeContainer; | 164 Member<SMILTimeContainer> m_timeContainer; |
| 165 Member<SVGPoint> m_translation; | 165 Member<SVGPoint> m_translation; |
| 166 Member<SVGViewSpec> m_viewSpec; | 166 Member<SVGViewSpec> m_viewSpec; |
| 167 float m_currentScale; | 167 float m_currentScale; |
| 168 | 168 |
| 169 friend class SVGCurrentTranslateTearOff; | 169 friend class SVGCurrentTranslateTearOff; |
| 170 }; | 170 }; |
| 171 | 171 |
| 172 } // namespace blink | 172 } // namespace blink |
| 173 | 173 |
| 174 #endif // SVGSVGElement_h | 174 #endif // SVGSVGElement_h |
| OLD | NEW |