MathPlot
Public Member Functions | Protected Member Functions | List of all members
MathPlot::mpPrintout Class Reference

Printout class used by mpWindow to draw in the objects to be printed. More...

#include <mathplot.h>

Inheritance diagram for MathPlot::mpPrintout:
Inheritance graph
[legend]
Collaboration diagram for MathPlot::mpPrintout:
Collaboration graph
[legend]

Public Member Functions

 mpPrintout (mpWindow *drawWindow, const wxString &title=_T("wxMathPlot print output"), int factor=2)
 
void SetDrawState (bool drawState)
 
bool OnPrintPage (int page)
 
bool HasPage (int page)
 
void SetFactor (int factor)
 

Protected Member Functions

 wxDECLARE_DYNAMIC_CLASS (mpPrintout)
 

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.

Member Function Documentation

◆ SetFactor()

void MathPlot::mpPrintout::SetFactor ( int  factor)
inline
Parameters
factorto reduce the size of the area of the plot