Cannot export gradients to SVG
Bug #1197981 reported by
lcampagn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyqtgraph |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When exporting SVG, items which should be gradient-filled have no fill. This is because the gradient definition under <defs> is not included.
Outline for fixing this:
1. Copy and collect definitions from Qt-generated svg
2. Check that gradient names are unique per-item
3. Update gradient coordinates if the group transformation matrix is changed.
Changed in pyqtgraph: | |
status: | New → Confirmed |
To post a comment you must log in.