OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Rob Buis <buis@kde.org> |
4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. |
5 * Copyright (C) 2011 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2011 Dirk Schulze <krit@webkit.org> |
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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 FloatRect objectBoundingBox = object->objectBoundingBox(); | 284 FloatRect objectBoundingBox = object->objectBoundingBox(); |
285 AffineTransform transform; | 285 AffineTransform transform; |
286 transform.translate(objectBoundingBox.x(), objectBoundingBox.y()); | 286 transform.translate(objectBoundingBox.x(), objectBoundingBox.y()); |
287 transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.h
eight()); | 287 transform.scaleNonUniform(objectBoundingBox.width(), objectBoundingBox.h
eight()); |
288 return transform.mapRect(m_clipBoundaries); | 288 return transform.mapRect(m_clipBoundaries); |
289 } | 289 } |
290 | 290 |
291 return m_clipBoundaries; | 291 return m_clipBoundaries; |
292 } | 292 } |
293 | 293 |
294 } | 294 } // namespace blink |
OLD | NEW |