PLplot
5.10.0
|
wxPLplotstream is inherited from plstream, which is the C++ interface More...
#include "wxPLplotstream.h"
Public Member Functions | |
wxPLplotstream () | |
Constructor. | |
wxPLplotstream (wxDC *dc, int width, int height, int style=wxPLPLOT_NONE) | |
Constructor. | |
void | Create (wxDC *dc, int width, int height, int style) |
~wxPLplotstream () | |
void | set_stream () |
Calls some code before every PLplot command. | |
void | SetSize (int width, int height) |
Set new size of plot area. | |
void | RenewPlot () |
Redo plot and update memory dc. | |
void | Update () |
Update memory dc, but don't redo plot. | |
Private Member Functions | |
void | InitStream () |
Private Attributes | |
wxDC * | m_dc |
Pointer to wxDC to plot into. | |
wxImage * | m_image |
pointer to wxImage | |
int | m_width |
Width of dc/plot area. | |
int | m_height |
Height of dc/plot area. | |
int | m_style |
style of this plot | |
int | m_backend |
driver backend used |
wxPLplotstream is inherited from plstream, which is the C++ interface
Definition at line 63 of file wxPLplotstream.h.
Constructor.
Definition at line 39 of file wxPLplotstream.cpp.
wxPLplotstream::wxPLplotstream | ( | wxDC * | dc, |
int | width, | ||
int | height, | ||
int | style = wxPLPLOT_NONE |
||
) |
Constructor.
Constructor of wxPLplotstream class which is inherited from plstream.
Definition at line 33 of file wxPLplotstream.cpp.
Definition at line 98 of file wxPLplotstream.cpp.
void wxPLplotstream::Create | ( | wxDC * | dc, |
int | width, | ||
int | height, | ||
int | style | ||
) |
Definition at line 44 of file wxPLplotstream.cpp.
void wxPLplotstream::InitStream | ( | ) | [private] |
Redo plot and update memory dc.
Replot everything.
Definition at line 155 of file wxPLplotstream.cpp.
void wxPLplotstream::set_stream | ( | void | ) | [virtual] |
Calls some code before every PLplot command.
This is the overloaded set_stream() function, where we could have some.
Reimplemented from plstream.
Definition at line 109 of file wxPLplotstream.cpp.
void wxPLplotstream::SetSize | ( | int | width, |
int | height | ||
) |
Set new size of plot area.
Call this method if the size of the dc changed (because of resizing)
Definition at line 118 of file wxPLplotstream.cpp.
Update memory dc, but don't redo plot.
Definition at line 165 of file wxPLplotstream.cpp.
int wxPLplotstream::m_backend [private] |
driver backend used
Definition at line 85 of file wxPLplotstream.h.
wxDC* wxPLplotstream::m_dc [private] |
Pointer to wxDC to plot into.
Definition at line 80 of file wxPLplotstream.h.
int wxPLplotstream::m_height [private] |
Height of dc/plot area.
Definition at line 83 of file wxPLplotstream.h.
wxImage* wxPLplotstream::m_image [private] |
pointer to wxImage
Definition at line 81 of file wxPLplotstream.h.
int wxPLplotstream::m_style [private] |
style of this plot
Definition at line 84 of file wxPLplotstream.h.
int wxPLplotstream::m_width [private] |
Width of dc/plot area.
Definition at line 82 of file wxPLplotstream.h.