equal
deleted
inserted
replaced
72 public: |
72 public: |
73 QSvgStructureNode(QSvgNode *parent); |
73 QSvgStructureNode(QSvgNode *parent); |
74 ~QSvgStructureNode(); |
74 ~QSvgStructureNode(); |
75 QSvgNode *scopeNode(const QString &id) const; |
75 QSvgNode *scopeNode(const QString &id) const; |
76 void addChild(QSvgNode *child, const QString &id); |
76 void addChild(QSvgNode *child, const QString &id); |
77 virtual QRectF bounds() const; |
77 virtual QRectF bounds(QPainter *p, QSvgExtraStates &states) const; |
78 QSvgNode *previousSiblingNode(QSvgNode *n) const; |
78 QSvgNode *previousSiblingNode(QSvgNode *n) const; |
79 QList<QSvgNode*> renderers() const { return m_renderers; } |
79 QList<QSvgNode*> renderers() const { return m_renderers; } |
80 protected: |
80 protected: |
81 QList<QSvgNode*> m_renderers; |
81 QList<QSvgNode*> m_renderers; |
82 QHash<QString, QSvgNode*> m_scope; |
82 QHash<QString, QSvgNode*> m_scope; |
83 QList<QSvgStructureNode*> m_linkedScopes; |
83 QList<QSvgStructureNode*> m_linkedScopes; |
84 mutable QRectF m_bounds; |
|
85 }; |
84 }; |
86 |
85 |
87 class QSvgG : public QSvgStructureNode |
86 class QSvgG : public QSvgStructureNode |
88 { |
87 { |
89 public: |
88 public: |