libpgplotxx.a (C++ interface to PGPLOT)
pgplot::Tpanel Class Reference

panel area More...

#include <xpgplotxx.h>

Collaboration diagram for pgplot::Tpanel:

Public Member Functions

 Tpanel (const Trect &win, const Trect &tvp=Trect(0., 1., 0., 1.), const Trect &vp=Trect(0.1, 0.9, 0.1, 0.9))
 
 Tpanel (const Tpanel &ref, const Trect &win, const Trect &tvp=Trect(0., 1., 0., 1.), const Trect &vp=Trect(0.1, 0.9, 0.1, 0.9))
 
Tpanelsetvp (const Trect &vp)
 set viewport relative to total viewport More...
 
Tpanelsettvp (const Trect &tvp)
 set total viewport relative to device surface More...
 
Tpanelsetwin (const Trect &win)
 set world coordinates More...
 
Trect getvp () const
 return viewport More...
 
Trect gettvp () const
 return total viewport More...
 
Trect getwin () const
 return world coordinate range More...
 
template<class T >
T & operator() (T &dev) const
 use in device context More...
 
template<class T >
T & erase (T &dev) const
 erase panel area More...
 

Protected Member Functions

 Tpanel ()
 default constructor More...
 

Protected Attributes

Trect Mvp
 view port for graph More...
 
Trect Mtvp
 total viewport including labels More...
 
Trect Mwin
 world coordinates More...
 

Friends

class Ttiledpanels
 allow class Ttiled panels to call the default constructor More...
 

Detailed Description

panel area

This class may store a panle view area

Parameters
Tany pgplot device class

Definition at line 149 of file xpgplotxx.h.


The documentation for this class was generated from the following file: