42 #ifndef QSVGRENDERER_H 43 #define QSVGRENDERER_H 45 #include <QtGui/qmatrix.h> 47 #ifndef QT_NO_SVGRENDERER 49 #include <QtCore/qobject.h> 50 #include <QtCore/qsize.h> 51 #include <QtCore/qrect.h> 52 #include <QtCore/qxmlstream.h> 80 QSize defaultSize()
const;
82 QRect viewBox()
const;
84 void setViewBox(
const QRect &viewbox);
85 void setViewBox(
const QRectF &viewbox);
87 bool animated()
const;
88 int framesPerSecond()
const;
89 void setFramesPerSecond(
int num);
90 int currentFrame()
const;
91 void setCurrentFrame(
int);
92 int animationDuration()
const;
95 bool elementExists(
const QString &
id)
const;
109 void repaintNeeded();
119 #endif // QT_NO_SVGRENDERER 120 #endif // QSVGRENDERER_H The QPainter class performs low-level painting on widgets and other paint devices.
int framesPerSecond
the number of frames per second to be shown
#define QT_END_NAMESPACE
This macro expands to.
The QMatrix class specifies 2D transformations of a coordinate system.
The QByteArray class provides an array of bytes.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
QRectF viewBox
Returns viewBoxF().toRect().
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QSvgRenderer class is used to draw the contents of SVG files onto paint devices.
The QRect class defines a rectangle in the plane using integer precision.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QXmlStreamReader class provides a fast parser for reading well-formed XML via a simple streaming ...
int currentFrame
the current frame of the document's animation, or 0 if the document is not animated ...