Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: Source/core/svg/SVGPatternElement.cpp

Issue 61753005: Remove SVGLocatable and SVGTransformable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix farthestVieportElement Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/svg/SVGPatternElement.h ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 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 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 // Cycle detection 225 // Cycle detection
226 if (processedPatterns.contains(current)) { 226 if (processedPatterns.contains(current)) {
227 current = 0; 227 current = 0;
228 break; 228 break;
229 } 229 }
230 } else 230 } else
231 current = 0; 231 current = 0;
232 } 232 }
233 } 233 }
234 234
235 AffineTransform SVGPatternElement::localCoordinateSpaceTransform(SVGLocatable::C TMScope) const 235 AffineTransform SVGPatternElement::localCoordinateSpaceTransform(SVGElement::CTM Scope) const
236 { 236 {
237 AffineTransform matrix; 237 AffineTransform matrix;
238 patternTransformCurrentValue().concatenate(matrix); 238 patternTransformCurrentValue().concatenate(matrix);
239 return matrix; 239 return matrix;
240 } 240 }
241 241
242 bool SVGPatternElement::selfHasRelativeLengths() const 242 bool SVGPatternElement::selfHasRelativeLengths() const
243 { 243 {
244 return xCurrentValue().isRelative() 244 return xCurrentValue().isRelative()
245 || yCurrentValue().isRelative() 245 || yCurrentValue().isRelative()
246 || widthCurrentValue().isRelative() 246 || widthCurrentValue().isRelative()
247 || heightCurrentValue().isRelative(); 247 || heightCurrentValue().isRelative();
248 } 248 }
249 249
250 } 250 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPatternElement.h ('k') | Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698