42 #ifndef QSVGGENERATOR_H 43 #define QSVGGENERATOR_H 45 #include <QtGui/qpaintdevice.h> 47 #ifndef QT_NO_SVGGENERATOR 49 #include <QtCore/qnamespace.h> 50 #include <QtCore/qiodevice.h> 51 #include <QtCore/qobjectdefs.h> 52 #include <QtCore/qscopedpointer.h> 78 void setTitle(const
QString &title);
81 void setDescription(const
QString &description);
84 void setSize(const
QSize &size);
86 QRect viewBox() const;
88 void setViewBox(const
QRect &viewBox);
89 void setViewBox(const
QRectF &viewBox);
92 void setFileName(const
QString &fileName);
95 void setOutputDevice(
QIODevice *outputDevice);
97 void setResolution(
int dpi);
98 int resolution() const;
111 #endif // QT_NO_SVGGENERATOR 112 #endif // QSVGGENERATOR_H #define QT_END_NAMESPACE
This macro expands to.
The QString class provides a Unicode character string.
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
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 QIODevice class is the base interface class of all I/O devices in Qt.
static QString fileName(const QString &fileUrl)
The QSvgGenerator class provides a paint device that is used to create SVG drawings.