94 int begin_job(
int pagecount = 0,
int *frompage = NULL,
int *topage = NULL,
char **perr_message = NULL);
97 void margins(
int *left,
int *top,
int *right,
int *bottom);
98 void origin(
int *x,
int *y);
100 void scale(
float scale_x,
float scale_y = 0.);
137 #endif // Fl_Printer_H static const char * dialog_range
[this text may be customized at run-time]
Definition: Fl_Printer.H:115
static const char * dialog_from
[this text may be customized at run-time]
Definition: Fl_Printer.H:119
Represents page-structured drawing surfaces.
Definition: Fl_Paged_Device.H:36
This widget produces an actual window.
Definition: Fl_Window.H:53
static const char * property_use
[this text may be customized at run-time]
Definition: Fl_Printer.H:129
virtual void margins(int *left, int *top, int *right, int *bottom)
Computes the dimensions of margins that lie between the printable page area and the full page...
Definition: Fl_Paged_Device.cxx:58
static const char * dialog_pages
[this text may be customized at run-time]
Definition: Fl_Printer.H:118
static const char * dialog_properties
[this text may be customized at run-time]
Definition: Fl_Printer.H:121
virtual void set_current(void)
Make this surface the current drawing surface.
Definition: Fl_Device.cxx:64
virtual void scale(float scale_x, float scale_y=0.)
Changes the scaling of page coordinates.
Definition: Fl_Paged_Device.cxx:72
OS-independent print support.
Definition: Fl_Printer.H:86
virtual int begin_page(void)
Begins a new printed page.
Definition: Fl_Paged_Device.cxx:45
virtual int begin_job(int pagecount=0, int *frompage=NULL, int *topage=NULL, char **perr_message=NULL)
Begins a print job.
Definition: Fl_Paged_Device.cxx:36
static const char * dialog_all
[this text may be customized at run-time]
Definition: Fl_Printer.H:117
virtual void end_job(void)
To be called at the end of a print job.
Definition: Fl_Paged_Device.cxx:93
virtual bool is_current()
Is this surface the current drawing surface?
Definition: Fl_Device.cxx:76
static const char * dialog_print_button
[this text may be customized at run-time]
Definition: Fl_Printer.H:123
static const char * property_pagesize
[this text may be customized at run-time]
Definition: Fl_Printer.H:127
static const char * property_save
[this text may be customized at run-time]
Definition: Fl_Printer.H:130
static const char * property_mode
[this text may be customized at run-time]
Definition: Fl_Printer.H:128
virtual void rotate(float angle)
Rotates the graphics operations relatively to paper.
Definition: Fl_Paged_Device.cxx:81
declaration of class Fl_Paged_Device.
static const char * dialog_cancel_button
[this text may be customized at run-time]
Definition: Fl_Printer.H:124
static const char * dialog_title
[this text may be customized at run-time]
Definition: Fl_Printer.H:113
static const char * dialog_to
[this text may be customized at run-time]
Definition: Fl_Printer.H:120
static const char * property_title
[this text may be customized at run-time]
Definition: Fl_Printer.H:126
static const char * dialog_printer
[this text may be customized at run-time]
Definition: Fl_Printer.H:114
virtual int end_page(void)
To be called at the end of each page.
Definition: Fl_Paged_Device.cxx:88
static const char * property_cancel
[this text may be customized at run-time]
Definition: Fl_Printer.H:131
static const char * dialog_copies
[this text may be customized at run-time]
Definition: Fl_Printer.H:116
static const char * dialog_copyNo
[this text may be customized at run-time]
Definition: Fl_Printer.H:122
static const char * dialog_print_to_file
[this text may be customized at run-time]
Definition: Fl_Printer.H:125