Event for when a canvas or plotter is resized.
More...
#include <PlotEvent.h>
|
| PlotResizeEvent (PlotCanvas *canvas, int oldWidth, int oldHeight, int newWidth, int newHeight) |
| Canvas resize constructor, which takes the old and new sizes. More...
|
|
| PlotResizeEvent (Plotter *plotter, int oldWidth, int oldHeight, int newWidth, int newHeight) |
| Plotter resize constructor, which takes the old and new sizes. More...
|
|
| ~PlotResizeEvent () |
| Destructor. More...
|
|
void * | origin () const |
| Overrides PlotEvent::origin(). More...
|
|
PlotCanvas * | canvas () const |
| Canvas that was resized, or NULL if it was a plotter. More...
|
|
Plotter * | plotter () const |
| Plotter that was resize, or NULL if it was a canvas. More...
|
|
std::pair< int, int > | oldSize () const |
| Old size, in pixels. More...
|
|
std::pair< int, int > | newSize () const |
| New size, in pixels. More...
|
|
| PlotEvent () |
|
virtual | ~PlotEvent () |
|
Event for when a canvas or plotter is resized.
Definition at line 278 of file PlotEvent.h.
casa::PlotResizeEvent::PlotResizeEvent |
( |
PlotCanvas * |
canvas, |
|
|
int |
oldWidth, |
|
|
int |
oldHeight, |
|
|
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
Canvas resize constructor, which takes the old and new sizes.
casa::PlotResizeEvent::PlotResizeEvent |
( |
Plotter * |
plotter, |
|
|
int |
oldWidth, |
|
|
int |
oldHeight, |
|
|
int |
newWidth, |
|
|
int |
newHeight |
|
) |
| |
Plotter resize constructor, which takes the old and new sizes.
casa::PlotResizeEvent::~PlotResizeEvent |
( |
| ) |
|
PlotCanvas* casa::PlotResizeEvent::canvas |
( |
| ) |
const |
Canvas that was resized, or NULL if it was a plotter.
Referenced by origin().
std::pair<int, int> casa::PlotResizeEvent::newSize |
( |
| ) |
const |
std::pair<int, int> casa::PlotResizeEvent::oldSize |
( |
| ) |
const |
void* casa::PlotResizeEvent::origin |
( |
| ) |
const |
|
inlinevirtual |
Plotter* casa::PlotResizeEvent::plotter |
( |
| ) |
const |
Plotter that was resize, or NULL if it was a canvas.
Referenced by origin().
std::pair<int, int> casa::PlotResizeEvent::m_new |
|
protected |
std::pair<int, int> casa::PlotResizeEvent::m_old |
|
protected |
Plotter* casa::PlotResizeEvent::m_plotter |
|
protected |
The documentation for this class was generated from the following file: