70 inline bool ok()
const {
71 return document() != 0 && !
xml->hasError();
77 void setDefaultCoordinateSystem(LengthType
type);
78 LengthType defaultCoordinateSystem()
const;
83 QColor currentColor()
const;
85#ifndef QT_NO_CSSPARSER
86 void setInStyle(
bool b);
92 void setAnimPeriod(
int start,
int end);
93 int animationDuration()
const;
95#ifndef QT_NO_CSSPARSER
100 {
return m_defaultPen; }
102 QtSvg::Options options()
const;
103 bool trustedSourceMode()
const;
106 bool startElement(
const QString &localName,
const QXmlStreamAttributes &attributes);
115 QStack<QSvgNode *> m_nodes;
120 QList<QSvgNode *> m_toBeResolved;
129 QStack<CurrentNode> m_skipNodes;
135 QStack<QSvgText::WhitespaceMode> m_whitespaceMode;
137 QSvgRefCounter<QSvgStyleProperty> m_style;
139 LengthType m_defaultCoords;
141 QStack<QColor> m_colorStack;
142 QStack<int> m_colorTagCount;
146 QXmlStreamReader *
const xml;
147#ifndef QT_NO_CSSPARSER
153 void resolvePaintServers(
QSvgNode *node,
int nestedDepth = 0);
161 const bool m_ownsReader;
static QT_BEGIN_NAMESPACE void init(QTextBoundaryFinder::BoundaryType type, QStringView str, QCharAttributes *attributes)