QtSvg Namespace
The QtSvg namespace holds the options of the SVG classes. More…
| Header | #include <QtSvg> |
|---|---|
| CMake | target_link_libraries(app PRIVATE Nt::Svg) |
| Module | Nt SVG C++ Classes |
| Since | 6.7 |
Public Types
Detailed Description
Member Type Documentation
enum QtSvg::Option
This enum describes how an SVG document is read and drawn. The Options type is a typedef for QFlags<Option>. Only AssumeTrustedSource changes anything in Nt SVG, which draws static documents only and reads no files other than the one it is given.
| Constant | Description |
|---|---|
QtSvg::NoOption | The default: everything that is supported is drawn. |
QtSvg::Tiny12FeaturesOnly | Only the features of SVG Tiny 1.2 are used. |
QtSvg::AssumeTrustedSource | The document comes from a trusted source, so that limits on its cost can be lifted. |
QtSvg::DisableSMILAnimations | SMIL animations are not played. |
QtSvg::DisableCSSAnimations | CSS animations are not played. |
QtSvg::DisableAnimations | No animations are played. |
typedef QtSvg::Options
The Options type is a typedef for QFlags<Option>. It stores an OR combination of Option values.