6.0.0-rc4Source

Nt SVG C++ Classes

Classes that draw SVG documents and write them.

Using the Module

target_link_libraries(app PRIVATE Nt::Svg)

Nt SVG reads Scalable Vector Graphics and draws them with a QPainter (QSvgRenderer), and writes what a painter draws as SVG (QSvgGenerator). See Using Nt SVG.

Link with Nt::Svg and include <QSvgRenderer> or <QSvgGenerator>.

Classes

QSvgGeneratorThe QSvgGenerator class is a paint device that writes what is painted on it as an SVG document.
QSvgRendererThe QSvgRenderer class draws the contents of SVG files with a QPainter.
QtSvgThe QtSvg namespace holds the options of the SVG classes.