|
OpenCPN Partial API docs
|
Printout a table with track selected information. More...
#include <track_printout.h>
Public Member Functions | |
| TrackPrintout (Track *track, OCPNTrackListCtrl *lcPoints, const TrackPrintDlg &dlg) | |
| Create track printout. | |
| void | OnPreparePrinting () override |
Public Member Functions inherited from BasePrintout | |
| 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 |
Protected Member Functions | |
| void | DrawPage (wxDC *dc, int page) override |
| Called by the print framework to draw the page. | |
Protected Attributes | |
| PrintTable | m_table |
| Track * | m_track |
| int | m_text_offset_x |
| int | m_text_offset_y |
Protected Attributes inherited from BasePrintout | |
| int | m_pages |
| int | m_margin_x |
| int | m_margin_y |
Printout a table with track selected information.
Definition at line 63 of file track_printout.h.
| TrackPrintout::TrackPrintout | ( | Track * | track, |
| OCPNTrackListCtrl * | lcPoints, | ||
| const TrackPrintDlg & | dlg | ||
| ) |
Create track printout.
| track | Track to print. |
| dlg | A TrackPrintDlg initiated by ShowModal(). |
Definition at line 127 of file track_printout.cpp.
|
overrideprotectedvirtual |
Called by the print framework to draw the page.
| dc | Device context to draw on. |
| page | Page number to draw. |
Implements BasePrintout.
Definition at line 216 of file track_printout.cpp.
|
override |
Definition at line 185 of file track_printout.cpp.
|
protected |
Definition at line 76 of file track_printout.h.
|
protected |
Definition at line 78 of file track_printout.h.
|
protected |
Definition at line 79 of file track_printout.h.
|
protected |
Definition at line 77 of file track_printout.h.