Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Public Member Functions | Private Attributes
mpPrintout Class Reference

Detailed Description

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 1416 of file mathplot.h.

#include <mrpt/otherlibs/mathplot/mathplot.h>

Inheritance diagram for mpPrintout:
Inheritance graph

Public Member Functions

 mpPrintout (mpWindow *drawWindow, const wxChar *title=_T("wxMathPlot print output"))
 
virtual ~mpPrintout ()
 
void SetDrawState (bool drawState)
 
bool OnPrintPage (int page)
 
bool HasPage (int page)
 

Private Attributes

bool drawn
 
mpWindowplotWindow
 

Constructor & Destructor Documentation

◆ mpPrintout()

mpPrintout::mpPrintout ( mpWindow drawWindow,
const wxChar *  title = _T("wxMathPlot print output") 
)

◆ ~mpPrintout()

virtual mpPrintout::~mpPrintout ( )
inlinevirtual

Definition at line 1420 of file mathplot.h.

Member Function Documentation

◆ HasPage()

bool mpPrintout::HasPage ( int  page)

◆ OnPrintPage()

bool mpPrintout::OnPrintPage ( int  page)

◆ SetDrawState()

void mpPrintout::SetDrawState ( bool  drawState)
inline

Definition at line 1422 of file mathplot.h.

Member Data Documentation

◆ drawn

bool mpPrintout::drawn
private

Definition at line 1427 of file mathplot.h.

◆ plotWindow

mpWindow* mpPrintout::plotWindow
private

Definition at line 1428 of file mathplot.h.




Page generated by Doxygen 1.8.15 for MRPT 1.4.0 SVN: at Sat Aug 3 20:09:00 UTC 2019