Ignore:
Timestamp:
May 3, 2011, 4:49:08 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

vendor: Imported qt-everywhere-opensource-src-4.7.2 from Nokia (excluding doc/html and doc/qch dirs generated from doc/src, and imports and templates dirs which are emtpy).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/vendor/nokia/qt/current/src/svg/qsvgstructure.cpp

    r649 r844  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    358358}
    359359
    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;
     360QRectF 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;
    369366}
    370367
Note: See TracChangeset for help on using the changeset viewer.