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:
Manolo Gouy 2010-03-29 12:52:28 +00:00
parent 24c6e23e25
commit b3d4755286
3 changed files with 8 additions and 3 deletions

View File

@ -36,7 +36,9 @@
\brief Sends all graphics to a local PostScript file; same API as Fl_Printer class. \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. 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 { FL_EXPORT class Fl_PSfile_Device : public Fl_Abstract_Printer {
public: public:

View File

@ -52,7 +52,9 @@
</ul> </ul>
In both cases, begin by start_job(), start_page(), printable_rect() and origin() calls In both cases, begin by start_job(), start_page(), printable_rect() and origin() calls
and finish by end_page() and end_job() 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:" 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: dialog item Fl_Printer::dialog_printer can be set to French with:
\code \code
@ -62,6 +64,7 @@
\endcode \endcode
Use Fl_PSfile_Device::file_chooser_title to customize the title of the file chooser dialog that opens 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. when using the "Print To File" option of the print dialog.
\see Fl_PSfile_Device.
*/ */
class Fl_Printer : public Fl_Abstract_Printer { class Fl_Printer : public Fl_Abstract_Printer {
private: private:

View File

@ -852,7 +852,7 @@ static const char *_fontNames[] = {
"Times-BoldItalic", "Times-BoldItalic",
"Symbol", "Symbol",
"Courier", "Courier",
"CourierBold", "Courier-Bold",
"ZapfDingbats" "ZapfDingbats"
}; };