42 #ifndef QSVGHANDLER_P_H 43 #define QSVGHANDLER_P_H 56 #include "QtXml/qxmlstream.h" 60 #include "QtCore/qhash.h" 61 #include "QtCore/qstack.h" 63 #include "private/qcssparser_p.h" 64 #include "private/qsvggraphics_p.h" 103 inline bool ok()
const {
104 return document() != 0 && !xml->hasError();
113 void pushColor(
const QColor &color);
114 void pushColorCopy();
116 QColor currentColor()
const;
118 void setInStyle(
bool b);
119 bool inStyle()
const;
123 void setAnimPeriod(
int start,
int end);
124 int animationDuration()
const;
129 {
return m_defaultPen; }
175 void resolveGradients(
QSvgNode *node);
188 #endif // QSVGHANDLER_P_H
The QColor class provides colors based on RGB, HSV or CMYK values.
QStack< int > m_colorTagCount
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
The QStack class is a template class that provides a stack.
The QString class provides a Unicode character string.
The QPen class defines how a QPainter should draw lines and outlines of shapes.
QXmlStreamReader *const xml
#define QT_BEGIN_NAMESPACE
This macro expands to.
static const char * data(const QByteArray &arr)
QStack< QSvgNode * > m_nodes
The QStringRef class provides a thin wrapper around QString substrings.
static void parseCSStoXMLAttrs(const QVector< QCss::Declaration > &declarations, QXmlStreamAttributes &attributes)
The QXmlStreamAttributes class represents a vector of QXmlStreamAttribute.
QStack< CurrentNode > m_skipNodes
LengthType m_defaultCoords
QStack< QColor > m_colorStack
QString errorString() const
The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming ...
static const KeyPair *const end
The QIODevice class is the base interface class of all I/O devices in Qt.
QSvgRefCounter< QSvgStyleProperty > m_style
QList< QSvgNode * > m_resolveNodes
QSvgStyleSelector * m_selector
QStack< QSvgText::WhitespaceMode > m_whitespaceMode
Follows the depths of elements.
QXmlStreamStringRef value
The QList class is a template class that provides lists.