Browse Source

ps output for X11

pre-master-46
h_vogt 16 years ago
parent
commit
3959b48afb
  1. 1
      ChangeLog
  2. 9
      src/frontend/com_hardcopy.c

1
ChangeLog

@ -5,6 +5,7 @@
* subckt.c: .global bug by R. Larice
various files: patches by Robert (Neval, Nintegrate) from Jan 3 2010 and
10 patches from Jan 16, 2010
* com_hardcopy.c: switching graphics context correctly for postscript output
2010-01-16 Dietmar Warning
* tests/transmission: Only few tests should be easier, more examples under

9
src/frontend/com_hardcopy.c

@ -108,10 +108,17 @@ com_hardcopy(wordlist *wl)
DevSwitch(NULL);
return;
}
/* save current graphics context */
PushGraphContext(currentgraph);
currentgraph = tempgraph;
/* some operations in gr_resize, gr_redraw, and DevSwitch
will be done on currentgraph, not only on tempgraph */
gr_resize(tempgraph);
gr_redraw(tempgraph);
DevSwitch(NULL);
/* retrieve current graphics context */
PopGraphContext();
DestroyGraph(tempgraph->graphid);
DevSwitch(NULL);
foundit = 1;
}
}

Loading…
Cancel
Save