Application print support.
More...
#include <printout_base.h>
|
| BasePrintout (const std::string &title=_("OpenCPN print").ToStdString()) |
|
bool | HasPage (int page) override |
|
bool | OnBeginDocument (int startPage, int endPage) override |
|
void | GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo) override |
|
bool | OnPrintPage (int page) override |
|
|
virtual void | DrawPage (wxDC *dc, int page)=0 |
| Called by the print framework to draw the page.
|
|
Application print support.
Definition at line 30 of file printout_base.h.
◆ BasePrintout()
BasePrintout::BasePrintout |
( |
const std::string & |
title = _("OpenCPN print").ToStdString() | ) |
|
◆ DrawPage()
virtual void BasePrintout::DrawPage |
( |
wxDC * |
dc, |
|
|
int |
page |
|
) |
| |
|
protectedpure virtual |
Called by the print framework to draw the page.
- Parameters
-
dc | Device context to draw on. |
page | Page number to draw. |
Implemented in RoutePrintout, and TrackPrintout.
◆ GetPageInfo()
void BasePrintout::GetPageInfo |
( |
int * |
minPage, |
|
|
int * |
maxPage, |
|
|
int * |
selPageFrom, |
|
|
int * |
selPageTo |
|
) |
| |
|
override |
◆ HasPage()
bool BasePrintout::HasPage |
( |
int |
page | ) |
|
|
override |
◆ OnBeginDocument()
bool BasePrintout::OnBeginDocument |
( |
int |
startPage, |
|
|
int |
endPage |
|
) |
| |
|
override |
◆ OnPrintPage()
bool BasePrintout::OnPrintPage |
( |
int |
page | ) |
|
|
override |
◆ m_margin_x
int BasePrintout::m_margin_x |
|
protected |
◆ m_margin_y
int BasePrintout::m_margin_y |
|
protected |
◆ m_pages
int BasePrintout::m_pages |
|
protected |
The documentation for this class was generated from the following files: