Changeset 846 for trunk/src/svg/qsvgstructure.cpp
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/svg/qsvgstructure.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation (qt-info@nokia.com) … … 358 358 } 359 359 360 QRectF QSvgStructureNode::bounds() const 361 { 362 if (m_bounds.isEmpty()) { 363 foreach(QSvgNode *node, m_renderers) { 364 m_bounds |= node->transformedBounds(QTransform()); 365 } 366 } 367 368 return m_bounds; 360 QRectF QSvgStructureNode::bounds(QPainter *p, QSvgExtraStates &states) const 361 { 362 QRectF bounds; 363 foreach(QSvgNode *node, m_renderers) 364 bounds |= node->transformedBounds(p, states); 365 return bounds; 369 366 } 370 367
Note:
See TracChangeset
for help on using the changeset viewer.