diff options
author | Geir Vattekar <geir.vattekar@digia.com> | 2012-10-05 15:58:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-10-25 11:49:55 +0200 |
commit | 7eff63b41e4f5bc008877581abd87774c2907e08 (patch) | |
tree | 8017808be1a3ff879bcabc367687775051268bf4 /src/svg/qsvggenerator.cpp | |
parent | 67a7cf1784c068104d69a032dcd0cebc984876f6 (diff) | |
download | qtsvg-7eff63b41e4f5bc008877581abd87774c2907e08.tar.gz |
Doc: Modularized Qt Svg documentation
Change-Id: I2b503ec04a0a4bf800f62c8d3dc2bf1675293add
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
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} */ /*! |