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.
This commit is contained in:
parent
a6079781ea
commit
5e8ae680db
|
|
@ -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…
Reference in New Issue