mirror of
https://github.com/fltk/fltk.git
synced 2026-05-21 14:31:40 +08:00
Fl_Printer & Fl_PSfile_Device : added some implementation details in doc
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
\brief Sends all graphics to a local PostScript file; same API as Fl_Printer class.
|
||||
*
|
||||
This class has the same API as class Fl_Printer except for start_job() member function.
|
||||
\see class Fl_Printer.
|
||||
<p>PostScript text output is presently implemented only for the latin character set.
|
||||
FLTK's standard fonts are output using PostScript's standard fonts: Helvetica, Courier,
|
||||
Times (and their bold, oblique, italic variants), Symbol, ZapfDingbats.
|
||||
*/
|
||||
FL_EXPORT class Fl_PSfile_Device : public Fl_Abstract_Printer {
|
||||
public:
|
||||
|
||||
+4
-1
@@ -52,7 +52,9 @@
|
||||
</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), the static public attributes of this class
|
||||
<p>On 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:
|
||||
\code
|
||||
@@ -62,6 +64,7 @@
|
||||
\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.
|
||||
*/
|
||||
class Fl_Printer : public Fl_Abstract_Printer {
|
||||
private:
|
||||
|
||||
@@ -852,7 +852,7 @@ static const char *_fontNames[] = {
|
||||
"Times-BoldItalic",
|
||||
"Symbol",
|
||||
"Courier",
|
||||
"CourierBold",
|
||||
"Courier-Bold",
|
||||
"ZapfDingbats"
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user