summaryrefslogtreecommitdiff
path: root/FL/Fl_Printer.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-01-31 15:53:23 +0000
committerManolo Gouy <Manolo>2011-01-31 15:53:23 +0000
commit535f0c2d3b17b20723bd5520d91531eda62e5ffe (patch)
treeadf79fd9692054f4c1bc66fcac7d2f82d19b0814 /FL/Fl_Printer.H
parent1993f08a33c95167b7a90579ffb178c6af625086 (diff)
Introduction of the Fl_Printer class requires all member functions of class
Fl_Paged_Device to be virtual. That is done here. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8342 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Printer.H')
-rw-r--r--FL/Fl_Printer.H7
1 files changed, 4 insertions, 3 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H
index 092bec18f..cc6e4cedc 100644
--- a/FL/Fl_Printer.H
+++ b/FL/Fl_Printer.H
@@ -83,6 +83,7 @@ public:
int start_page (void);
int printable_rect(int *w, int *h);
void margins(int *left, int *top, int *right, int *bottom);
+ void origin(int *x, int *y);
void origin(int x, int y);
void scale (float scale_x, float scale_y);
void rotate(float angle);
@@ -157,6 +158,7 @@ public:
int start_page(void);
int printable_rect(int *w, int *h);
void margins(int *left, int *top, int *right, int *bottom);
+ void origin(int *x, int *y);
void origin(int x, int y);
void scale(float scale_x, float scale_y);
void rotate(float angle);
@@ -164,9 +166,8 @@ public:
void untranslate(void);
int end_page (void);
void end_job (void);
-#ifdef __APPLE__
- void add_image(const uchar *data);
-#endif
+ void print_widget(Fl_Widget* widget, int delta_x=0, int delta_y=0);
+ void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x=0, int delta_y=0);
/** \brief The destructor */
~Fl_Printer(void);