Browse Source

Don't do gr_redraw twice (for non-X11 is already

done in gr_resize)
Add a function DevFinalize() to add the closings in SVG or PS
files ("/> or "stroke"), when files are generated by the
plot window in MS Windows.
pre-master-46
Holger Vogt 5 years ago
parent
commit
5e8ae680db
  1. 3
      src/frontend/com_hardcopy.c

3
src/frontend/com_hardcopy.c

@ -128,7 +128,8 @@ void com_hardcopy(wordlist *wl)
return;
}
gr_resize(tempgraph);
gr_redraw(tempgraph);
/* use DevClear to add final statement in file, "/> or "stroke"*/
DevFinalize();
DestroyGraph(tempgraph->graphid);
DevSwitch(NULL);
foundit = 1;

Loading…
Cancel
Save