Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P3: Somewhat important
-
Resolution: Out of scope
-
Affects Version/s: 4.3.4
-
Fix Version/s: Some future release
-
Component/s: SVG Support
-
Labels:None
Description
QSvgGenerator does not respect the painter's clipping rect/region if one is set
Deferred:
Fixing this bug would require implementing features of the SVG 1.1 Clip Module [1], and we currently only support SVG 1.2 Tiny.
A work-around is to use the viewBox property of the QSvgGenerator to set a clip manually (new in 4.5). While this will not clip individual paint operations it will clip the resulting document to a given rectangle.