Name Description Size Coverage
animation -
CMakeLists.txt 2612 -
css -
doc -
qsvganimate.cpp 1115 -
qsvganimate_p.h 2868 -
qsvgdebug.cpp 4340 -
qsvgdocument.cpp 17904 -
qsvgdocument_p.h 6061 -
qsvgfilter.cpp 34065 -
qsvgfilter_p.h 8876 -
qsvgfont.cpp 5227 -
qsvgfont_p.h 2715 -
qsvggenerator.cpp 41959 -
qsvggenerator.h 2239 -
qsvggraphics.cpp 26057 -
qsvggraphics_p.h 10822 -
qsvghandler.cpp 154622 -
qsvghandler_p.h ! Follows the depths of elements. The top is current xml:space value that applies for a given element. 5205 -
qsvghelper_p.h 5086 -
qsvgnode.cpp 16791 -
qsvgnode_p.h 6599 -
qsvgpaintserver.cpp 2446 -
qsvgpaintserver_p.h 4363 -
qsvgrenderer.cpp ! \class QSvgRenderer \inmodule QtSvg \ingroup painting \brief The QSvgRenderer class is used to draw the contents of SVG files onto paint devices. \since 4.1 \reentrant Using QSvgRenderer, Scalable Vector Graphics (SVG) can be rendered onto any QPaintDevice subclass, including QWidget, QImage, and QGLWidget. QSvgRenderer provides an API that supports basic features of SVG rendering, such as loading and rendering of static drawings, and more interactive features like animation. Since the rendering is performed using QPainter, SVG drawings can be rendered on any subclass of QPaintDevice. SVG drawings are either loaded when an QSvgRenderer is constructed, or loaded later using the load() functions. Data is either supplied directly as serialized XML, or indirectly using a file name. If a valid file has been loaded, either when the renderer is constructed or at some later time, isValid() returns true; otherwise it returns false. QSvgRenderer provides the render() slot to render the current document, or the current frame of an animated document, using a given painter. The defaultSize() function provides information about the amount of space that is required to render the currently loaded SVG file. This is useful for paint devices, such as QWidget, that often need to supply a size hint to their parent layout. The default size of a drawing may differ from its visible area, found using the \l viewBox property. Animated SVG drawings are supported, and can be controlled with a simple collection of functions and properties: \list \li The animated() function indicates whether a drawing contains animation information. \omit \li The animationDuration() function provides the duration in milliseconds of the animation, without taking any looping into account. \li The \l currentFrame property contains the current frame of the animation. \endomit \li The \l framesPerSecond property contains the rate at which the animation plays. \endlist Finally, the QSvgRenderer class provides the repaintNeeded() signal which is emitted whenever the rendering of the document needs to be updated. \sa QSvgWidget, {Qt SVG C++ Classes}, QPicture 15656 -
qsvgrenderer.h 2712 -
qsvgstructure.cpp 35862 -
qsvgstructure_p.h 9192 -
qsvgstyle.cpp 19371 -
qsvgstyle_p.h 17683 -
qsvgvisitor.cpp 7489 -
qsvgvisitor_p.h 4205 -
qtsvgglobal.h 950 -
qtsvgglobal_p.h 955 -
REUSE.toml 269 -