X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1b95a653c1c200b40d6f9202258c0463b263ce3..7447d53c35249d42128d6243c90998f03882859a:/docs/doxygen/overviews/printing.h diff --git a/docs/doxygen/overviews/printing.h b/docs/doxygen/overviews/printing.h index 02076df1fa..05b72195dc 100644 --- a/docs/doxygen/overviews/printing.h +++ b/docs/doxygen/overviews/printing.h @@ -3,7 +3,7 @@ // Purpose: topic overview // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// /** @@ -97,7 +97,7 @@ printing under MSW and Mac), or a wxPostScriptDC (for printing under GTK or generating PostScript output). The @ref overview_docview "document/view framework" creates a default -wxPrintout object for every view, calling wxView::OnDraw to achieve a +wxPrintout object for every view, calling wxView::OnDraw() to achieve a prepackaged print/preview facility. If your window classes have a Draw(wxDC *dc) routine to do screen rendering, @@ -141,7 +141,7 @@ There are two important rectangles in printing: the page rectangle defines the printable area seen by the application, and under MSW and Mac, it is the printable area specified by the printer. (For PostScript printing, the page rectangle is the entire page.) The inherited function -wxDC::GetSize returns the page size in device pixels. The +wxDC::GetSize() returns the page size in device pixels. The point (0,0) on the wxPrinterDC represents the top left corner of the page rectangle; that is, the page rect is given by wxRect(0, 0, w, h), where (w,h) are the values returned by GetSize. @@ -150,7 +150,7 @@ The paper rectangle, on the other hand, represents the entire paper area including the non-printable border. Thus, the coordinates of the top left corner of the paper rectangle will have small negative values, while the width and height will be somewhat larger than that of the page rectangle. The -wxPrinterDC-specific function wxPrinterDC::GetPaperRect returns the paper +wxPrinterDC-specific function wxPrinterDC::GetPaperRect() returns the paper rectangle of the given wxPrinterDC.