OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann |
3 * <zimmermann@kde.org> | 3 * <zimmermann@kde.org> |
4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 4 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 break; | 209 break; |
210 | 210 |
211 current = toSVGPatternElement(refNode); | 211 current = toSVGPatternElement(refNode); |
212 | 212 |
213 // Cycle detection | 213 // Cycle detection |
214 if (processedPatterns.contains(current)) | 214 if (processedPatterns.contains(current)) |
215 break; | 215 break; |
216 } | 216 } |
217 } | 217 } |
218 | 218 |
219 AffineTransform SVGPatternElement::localCoordinateSpaceTransform( | 219 AffineTransform SVGPatternElement::localCoordinateSpaceTransform() const { |
220 SVGElement::CTMScope) const { | |
221 return calculateTransform(SVGElement::ExcludeMotionTransform); | 220 return calculateTransform(SVGElement::ExcludeMotionTransform); |
222 } | 221 } |
223 | 222 |
224 bool SVGPatternElement::selfHasRelativeLengths() const { | 223 bool SVGPatternElement::selfHasRelativeLengths() const { |
225 return m_x->currentValue()->isRelative() || | 224 return m_x->currentValue()->isRelative() || |
226 m_y->currentValue()->isRelative() || | 225 m_y->currentValue()->isRelative() || |
227 m_width->currentValue()->isRelative() || | 226 m_width->currentValue()->isRelative() || |
228 m_height->currentValue()->isRelative(); | 227 m_height->currentValue()->isRelative(); |
229 } | 228 } |
230 | 229 |
231 } // namespace blink | 230 } // namespace blink |
OLD | NEW |