src/svg/qsvgstructure_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/svg/qsvgstructure_p.h	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/svg/qsvgstructure_p.h	Tue Jul 06 15:10:48 2010 +0300
@@ -74,14 +74,13 @@
     ~QSvgStructureNode();
     QSvgNode *scopeNode(const QString &id) const;
     void addChild(QSvgNode *child, const QString &id);
-    virtual QRectF bounds() const;
+    virtual QRectF bounds(QPainter *p, QSvgExtraStates &states) const;
     QSvgNode *previousSiblingNode(QSvgNode *n) const;
     QList<QSvgNode*> renderers() const { return m_renderers; }
 protected:
     QList<QSvgNode*>          m_renderers;
     QHash<QString, QSvgNode*> m_scope;
     QList<QSvgStructureNode*> m_linkedScopes;
-    mutable QRectF m_bounds;
 };
 
 class QSvgG : public QSvgStructureNode