- wxPrintout
Constructor.
- FitThisSizeToPage
Set the user scale and device origin of the wxDC associated with this wxPrintout so that the given image size fits entirely within the page rectangle and the origin is at the top left corner of the page rectangle.
- FitThisSizeToPageMargins
Set the user scale and device origin of the wxDC associated with this wxPrintout so that the given image size fits entirely within the page margins set in the given wxPageSetupDialogData object.
- FitThisSizeToPaper
Set the user scale and device origin of the wxDC associated with this wxPrintout so that the given image size fits entirely within the paper and the origin is at the top left corner of the paper.
- GetDC
Returns the device context associated with the printout (given to the printout at start of printing or previewing).
- GetLogicalPageMarginsRect
Return the rectangle corresponding to the page margins specified by the given wxPageSetupDialogData object in the associated wxDC's logical coordinates for the current user scale and device origin.
- GetLogicalPageRect
Return the rectangle corresponding to the page in the associated wxDC 's logical coordinates for the current user scale and device origin.
- GetLogicalPaperRect
Return the rectangle corresponding to the paper in the associated wxDC 's logical coordinates for the current user scale and device origin.
- GetPPIPrinter
Returns the number of pixels per logical inch of the printer device context.
- GetPPIScreen
Returns the number of pixels per logical inch of the screen device context.
- GetPageInfo
Called by the framework to obtain information from the application about minimum and maximum page values that the user can select, and the required page range to be printed.
- GetPageSizeMM
Returns the size of the printer page in millimetres.
- GetPageSizePixels
Returns the size of the printer page in pixels, called the page rectangle.
- GetPaperRectPixels
Returns the rectangle that corresponds to the entire paper in pixels, called the paper rectangle.
- GetPreview
Returns the associated preview object if any.
- GetTitle
Returns the title of the printout.
- HasPage
Should be overridden to return true if the document has this page, or false if not.
- IsPreview
Returns true if the printout is currently being used for previewing.
- MapScreenSizeToDevice
Set the user scale and device origin of the wxDC associated with this wxPrintout so that one screen pixel maps to one device pixel on the DC.
- MapScreenSizeToPage
This sets the user scale of the wxDC associated with this wxPrintout to the same scale as MapScreenSizeToPaper() but sets the logical origin to the top left corner of the page rectangle.
- MapScreenSizeToPageMargins
This sets the user scale of the wxDC associated with this wxPrintout to the same scale as MapScreenSizeToPageMargins() but sets the logical origin to the top left corner of the page margins specified by the given wxPageSetupDialogData object.
- MapScreenSizeToPaper
Set the user scale and device origin of the wxDC associated with this wxPrintout so that the printed page matches the screen size as closely as possible and the logical origin is in the top left corner of the paper rectangle.
- OffsetLogicalOrigin
Shift the device origin by an amount specified in logical coordinates.
- OnBeginDocument
Called by the framework at the start of document printing.
- OnBeginPrinting
Called by the framework at the start of printing.
- OnEndDocument
Called by the framework at the end of document printing.
- OnEndPrinting
Called by the framework at the end of printing.
- OnPreparePrinting
Called once by the framework before any other demands are made of the wxPrintout object.
- OnPrintPage
Called by the framework when a page should be printed.
- SetLogicalOrigin
Set the device origin of the associated wxDC so that the current logical point becomes the new logical origin.