Menu

Commit [b655ca]  Maximize  Restore  History

wxt: The export-to-file widget should preserve line properties

The export-to-file widget in the toolbar of the wxt terminal allows
you to save the current plot as a png, svg, or pdf file.
However the linecap and linejoin properties currently active in
the main plot window were not replicated in the svg or pdf output.
It is not clear to me exactly why or when the active settings are
lost, but now we reapply them before exporting the plot.

Ethan A Merritt Ethan A Merritt 2022-12-30

changed src/wxterminal/gp_cairo.c
changed src/wxterminal/gp_cairo.h
changed src/wxterminal/wxt_gui.cpp
src/wxterminal/gp_cairo.c Diff Switch to side-by-side view
Loading...
src/wxterminal/gp_cairo.h Diff Switch to side-by-side view
Loading...
src/wxterminal/wxt_gui.cpp Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.