The QtSvg namespace contains types used by the svg classes. 更多...
头: | #include <QtSvg> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Svg)
target_link_libraries(mytarget PRIVATE Qt6::Svg) |
qmake: | QT += svg |
(从 6.7 起)
enum
|
Option { NoOption, Tiny12FeaturesOnly } |
flags | Options |
[since 6.7]
enum QtSvg::
Option
This enum holds flags that can be used to enable or disable various features of the parsing and rendering of SVG files. Multiple flags can be combined into the QFlags type QtSvg::Options.
常量 | 值 | 描述 |
---|---|---|
QtSvg::NoOption
|
0x00
|
The null value. This is the default for QtSvg::Options. |
QtSvg::Tiny12FeaturesOnly
|
0x01
|
Strictly and exclusively parse only tags that are part of the SVG 1.2 Tiny Static Feature set. |
该枚举在 Qt 6.7 引入。
Options 类型是 typedef 对于 QFlags <Option>。它存储 Option 值的 OR 组合。