KiCad PCB EDA Suite
|
Printout class used by mpWindow to draw in the objects to be printed. More...
#include <mathplot.h>
Public Member Functions | |
mpPrintout (mpWindow *drawWindow, const wxChar *title=_T("wxMathPlot print output")) | |
virtual | ~mpPrintout () |
void | SetDrawState (bool drawState) |
bool | OnPrintPage (int page) override |
bool | HasPage (int page) override |
Private Attributes | |
bool | drawn |
mpWindow * | plotWindow |
Printout class used by mpWindow to draw in the objects to be printed.
The object itself can then used by the default wxWidgets printing system to print mppWindow objects.
Definition at line 1715 of file mathplot.h.
mpPrintout::mpPrintout | ( | mpWindow * | drawWindow, |
const wxChar * | title = _T("wxMathPlot print output") |
||
) |
Definition at line 3053 of file mathplot.cpp.
References drawn, and plotWindow.
|
inlinevirtual |
Definition at line 1719 of file mathplot.h.
|
override |
Definition at line 3123 of file mathplot.cpp.
|
override |
Definition at line 3061 of file mathplot.cpp.
References mpWindow::CountAllLayers(), mpWindow::Fit(), mpWindow::GetAxesColour(), mpWindow::GetDesiredXmax(), mpWindow::GetDesiredXmin(), mpWindow::GetDesiredYmax(), mpWindow::GetDesiredYmin(), mpWindow::GetLayer(), mpLayer::Plot(), plotWindow, mpWindow::SetColourTheme(), and mpWindow::UpdateAll().
|
inline |
Definition at line 1721 of file mathplot.h.
|
private |
Definition at line 1726 of file mathplot.h.
Referenced by mpPrintout().
|
private |
Definition at line 1727 of file mathplot.h.
Referenced by mpPrintout(), and OnPrintPage().