diff options
| author | Manolo Gouy <Manolo> | 2010-03-30 12:09:09 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-03-30 12:09:09 +0000 |
| commit | 065dfed2c3e6d8f6010cacf0366603ef82f665a6 (patch) | |
| tree | 8eaaff4f0cd9a682a790ad8b782d82925094988f /FL | |
| parent | 0eae439b66976043ac511c00d94b990aef1e0982 (diff) | |
Added platform-specific information to Fl_Printer doc.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7364 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Printer.H | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index f8dc9844c..bd2859638 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -52,19 +52,24 @@ </ul> In both cases, begin by start_job(), start_page(), printable_rect() and origin() calls and finish by end_page() and end_job() calls. - <p>On Xlib-based platforms (<i>e.g.</i>, Linux, Unix), this class is implemented as + <p><b>Platform specifics</b> + <ul> + <li>Xlib-based platforms (<i>e.g.</i>, Linux, Unix): this class is implemented as a subclass of Fl_PSfile_Device. - <p>On Xlib-based platforms, the static public attributes of this class - can be used to set the print dialog to other languages than English. For example, the "Printer:" - dialog item Fl_Printer::dialog_printer can be set to French with: + Use the static public attributes of this class to set the print dialog to other languages + than English. For example, the "Printer:" dialog item Fl_Printer::dialog_printer can be set to French with: \code Fl_Printer::dialog_printer = "Imprimante:"; Fl_Printer myprinter; myprinter.start_job(); \endcode Use Fl_PSfile_Device::file_chooser_title to customize the title of the file chooser dialog that opens - when using the "Print To File" option of the print dialog. - \see Fl_PSfile_Device. + when using the "Print To File" option of the print dialog. + Class Fl_RGB_Image prints but looses its transparency if it has one. + <li>MSWindows platform: class Fl_RGB_Image looses its transparency if it has one, and doesn't rotate() well. + A workaround is to use the print_window_part() call. + <li>Mac OS X platform: all graphics requests print as on display. + </ul> */ class Fl_Printer : public Fl_Abstract_Printer { private: |
