diff options
Diffstat (limited to 'src/svg/qsvggenerator.cpp')
-rw-r--r-- | src/svg/qsvggenerator.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/svg/qsvggenerator.cpp b/src/svg/qsvggenerator.cpp index ef35a21..47f760b 100644 --- a/src/svg/qsvggenerator.cpp +++ b/src/svg/qsvggenerator.cpp @@ -508,6 +508,7 @@ public: /*! \class QSvgGenerator \ingroup painting + \inmodule QtSvg \since 4.3 \brief The QSvgGenerator class provides a paint device that is used to create SVG drawings. \reentrant @@ -520,7 +521,7 @@ public: by setting the \l size property, and in some cases where the drawing will be included in another, the \l viewBox property also needs to be set. - \snippet examples/painting/svggenerator/window.cpp configure SVG generator + \snippet svggenerator/window.cpp configure SVG generator Other meta-data can be specified by setting the \a title, \a description and \a resolution properties. @@ -528,9 +529,9 @@ public: As with other QPaintDevice subclasses, a QPainter object is used to paint onto an instance of this class: - \snippet examples/painting/svggenerator/window.cpp begin painting + \snippet svggenerator/window.cpp begin painting \dots - \snippet examples/painting/svggenerator/window.cpp end painting + \snippet svggenerator/window.cpp end painting Painting is performed in the same way as for any other paint device. However, it is necessary to use the QPainter::begin() and \l{QPainter::}{end()} to @@ -539,7 +540,7 @@ public: The \l{SVG Generator Example} shows how the same painting commands can be used for painting a widget and writing an SVG file. - \sa QSvgRenderer, QSvgWidget, {About SVG} + \sa QSvgRenderer, QSvgWidget, {Qt Svg C++ Classes} */ /*! |