확장 기능
Qt SVG 모듈은 SVG 1.2 Tiny의 정적 기능을 지원합니다.
또한 이 모듈은 유용할 수 있는 몇 가지 추가 기능도 지원합니다. QSvgRenderer 는 기본적으로 모든 기능(추가 기능 세트 포함)을 파싱합니다. QSvgRenderer::setOptions()에 QtSvg::Tiny12FeaturesOnly 플래그를 전달하여 렌더러가 이러한 추가 기능을 무시하도록 지시할 수 있습니다.
확장 기능
Qt 6.7부터 Qt는 다음과 같은 확장 요소 및 관련 속성을 지원합니다:
- mask SVG 1.1
- symbol SVG 1.1 및 SVG 2
- marker SVG 1.1
- pattern SVG 1.1
- filter SVG 1.1
- feColorMatrix SVG 1.1
- feComposite SVG 1.1
- feFlood SVG 1.1
- feGaussianBlur SVG 1.1
- feOffset SVG 1.1
- feMerge SVG 1.1
마스크
마스킹은 ` <mask> ` 요소와 `mask` 속성의 형태로 지원됩니다.
참고: < clipPath>는 지원되지 않습니다.
<mask>
<mask> 요소의 다음 속성이 지원됩니다:
xywidthheightmaskUnitsmaskContentUnits
mask 속성은 모든 그래픽 및 구조적 SVG 요소에서 지원됩니다.
심볼, 마커 및 패턴
<symbol>
<symbol> 요소의 다음 속성이 지원됩니다:
x(SVG 2에서 발췌)y(SVG 2 기준)width(SVG 2에서 발췌)height(SVG 2에서 발췌)preserveAspectRatioviewBox
<marker>
<marker> 요소의 다음 속성이 지원됩니다:
markerUnitsrefXrefYmarkerWidthmarkerHeightorientpreserveAspectRatioviewBox
xml-ph-0000@deepl.internal에 대해서는
marker-startmarker-midmarker-end
는 <path>, <line>, <polyline> 및 <polygon> 에서 지원됩니다.
<pattern>
다음 속성이 지원됩니다:
xywidthheightpatternUnitspatternContentUnitspatternTransformviewBox
다음 속성은 지원되지 않습니다:
preserveAspectRatioxlink:href
필터
FillPaint StrokePaintBackgroundImage BackgroundAlpha
<filter>
<filter> 요소의 다음 속성이 지원됩니다:
xywidthheightfilterUnitsprimitiveUnits
<filter> 요소의 다음 속성은 지원되지 않습니다:
filterResxlink:href
filter 속성은 모든 그래픽 및 구조적 SVG 요소에서 지원됩니다.
필터 프리미티브
filter 요소에는 다양한 필터 프리미티브가 포함됩니다. Qt는 가장 중요한 필터 프리미티브를 지원합니다(아래 참조).
모든 필터 프리미티브는 공통된 속성 집합을 공유합니다. 다음 속성이 지원됩니다:
xywidthheightin(SourceGraphic,SourceAlpha및 필터에 대한 모든 참조가 지원됩니다)result
다음 속성은 지원되지 않습니다:
in(BackgroundImage,BackgroundAlpha,FillPaint및StrokePaint은 지원되지 않습니다)
<feColorMatrix>
다음 속성이 지원됩니다:
typevalues
<feGaussianBlur>
다음 속성이 지원됩니다:
stdDeviation
다음 속성은 지원되지 않습니다:
edgeMode(구현은none와 일치합니다)
<feOffset>
다음 속성이 지원됩니다:
dxdy
<feMerge> 및 <feMergeNode>
추가 속성은 없습니다.
<feComposite>
다음 속성이 지원됩니다:
operatork1k2k3k4
<feFlood>
다음 속성이 지원됩니다:
flodd-colorflood-opacity
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.