libpgplotxx.a (C++ interface to PGPLOT)

◆ erase()

template<class T >
T& pgplot::Tpanel::erase ( T &  dev) const
inline

erase panel area

Definition at line 203 of file xpgplotxx.h.

References Mtvp, and Mwin.

204  {
205  dev.svp(Mtvp);
206  int fs=dev.qfs();
207  int ci=dev.qci();
208  dev.sfs(1);
209  dev.sci(0);
210  dev.rect(Mwin);
211  dev.sfs(fs);
212  dev.sci(ci);
213  return(this->operator()(dev));
214  }
Trect Mwin
world coordinates
Definition: xpgplotxx.h:227
Trect Mtvp
total viewport including labels
Definition: xpgplotxx.h:225