Printout Class Reference
[Roadnav Misc Classes]

Handles printing out a map. More...

#include <Printout.h>

List of all members.

Public Member Functions

 Printout (wxString strTitle, MapControl *pctlMap)
 Printout constructor - remember the supplied variables, call base class constructor.
bool OnPrintPage (int page)
 Called to print a single page (the only page).
bool HasPage (int page)
 Indicates if a certain page is present.
void GetPageInfo (int *minPage, int *maxPage, int *selPageFrom, int *selPageTo)
 Returns info about how many pages there are.

Private Attributes

MapControl * m_pctlMap
 Pointer to a MapControl that will do the actual drawing.


Detailed Description

Handles printing out a map.

Definition at line 74 of file MainPage.txt.


Constructor & Destructor Documentation

Printout::Printout ( wxString  strTitle,
MapControl *  pctlMap 
)

Printout constructor - remember the supplied variables, call base class constructor.

Definition at line 48 of file Printout.cpp.


Member Function Documentation

bool Printout::OnPrintPage ( int  page  ) 

Called to print a single page (the only page).

Definition at line 57 of file Printout.cpp.

bool Printout::HasPage ( int  page  ) 

Indicates if a certain page is present.

Currently, there's only one page.

Definition at line 125 of file Printout.cpp.

void Printout::GetPageInfo ( int *  minPage,
int *  maxPage,
int *  selPageFrom,
int *  selPageTo 
)

Returns info about how many pages there are.

Definition at line 138 of file Printout.cpp.


Member Data Documentation

MapControl* Printout::m_pctlMap [private]

Pointer to a MapControl that will do the actual drawing.

Definition at line 49 of file Printout.h.


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

Generated on Sun Jul 27 17:26:15 2008 for Roadnav by  doxygen 1.5.5