KiCad PCB EDA Suite
No Matches
mpPrintout Class Reference

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

#include <mathplot.h>

Inheritance diagram for mpPrintout:

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

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

Constructor & Destructor Documentation

◆ mpPrintout()

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

Definition at line 3053 of file mathplot.cpp.

References drawn, and plotWindow.

◆ ~mpPrintout()

virtual mpPrintout::~mpPrintout ( )

Definition at line 1719 of file mathplot.h.

Member Function Documentation

◆ HasPage()

bool mpPrintout::HasPage ( int  page)

Definition at line 3123 of file mathplot.cpp.

◆ OnPrintPage()

◆ SetDrawState()

void mpPrintout::SetDrawState ( bool  drawState)

Definition at line 1721 of file mathplot.h.

Member Data Documentation

◆ drawn

bool mpPrintout::drawn

Definition at line 1726 of file mathplot.h.

Referenced by mpPrintout().

◆ plotWindow

mpWindow* mpPrintout::plotWindow

Definition at line 1727 of file mathplot.h.

Referenced by mpPrintout(), and OnPrintPage().

The documentation for this class was generated from the following files: