diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2023-10-05 08:43:55 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2023-10-30 10:36:06 +0200 |
commit | e9913b70717f55efb88e3022254299c848bcb940 (patch) | |
tree | 99672b7cfe9d10a5ae84f8610cb9cab546db747f /src/svg/qsvgnode_p.h | |
parent | 24e0d715a6e14f06c9da7604086789431960a41a (diff) |
Private API for iterating over QSvgTinyDocument
Expose more node information in the internal API. Also
use the new API to implement a debug operator for
QSvgTinyDocument. Includes a drive-by fix: use floating
point instead of int for rounded rect radius.
Task-number: QTBUG-116883
Change-Id: I238b7313c10b88abd7c2ca755b898ecb6f8c3e8b
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/svg/qsvgnode_p.h')
-rw-r--r-- | src/svg/qsvgnode_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svg/qsvgnode_p.h b/src/svg/qsvgnode_p.h index df1341b..2c23b2f 100644 --- a/src/svg/qsvgnode_p.h +++ b/src/svg/qsvgnode_p.h @@ -133,6 +133,7 @@ public: void setXmlClass(const QString &str); bool shouldDrawNode(QPainter *p, QSvgExtraStates &states) const; + const QSvgStyle &style() const { return m_style; } protected: mutable QSvgStyle m_style; |