Printout class used by mpWindow to draw in the objects to be printed.
More...
#include <mathplot.h>
|
| | mpPrintout (mpWindow *drawWindow, const wxString &title=_T("wxMathPlot print output"), int factor=2) |
| | Construct a printout helper for a plot window. More...
|
| |
| void | SetDrawState (bool drawState) |
| | Set whether the plot has already been drawn on the current printout. More...
|
| |
|
bool | OnPrintPage (int page) |
| | Render the requested print page.
|
| |
|
bool | HasPage (int page) |
| | Does this page exist?
|
| |
| void | SetFactor (int factor) |
| |
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.
◆ mpPrintout()
| mpPrintout::mpPrintout |
( |
mpWindow * |
drawWindow, |
|
|
const wxString & |
title = _T("wxMathPlot print output"), |
|
|
int |
factor = 2 |
|
) |
| |
Construct a printout helper for a plot window.
- Parameters
-
| drawWindow | Window to print. |
| title | Print job title. |
| factor | Stretch factor used for printing. |
◆ SetDrawState()
| void mpPrintout::SetDrawState |
( |
bool |
drawState | ) |
|
|
inline |
Set whether the plot has already been drawn on the current printout.
- Parameters
-
| drawState | True if the plot has already been drawn on the current page. |
◆ SetFactor()
| void mpPrintout::SetFactor |
( |
int |
factor | ) |
|
|
inline |
- Parameters
-
| factor | to reduce the size of the area of the plot |
The documentation for this class was generated from the following files: