From 56ac442c9307a81a1a67dab4ebf3e8a964b02ddd Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 22 Feb 2014 14:51:50 +0000 Subject: Better separate printer-specific code using virtual Fl_GDI_Printer_Graphics_Driver::draw(Fl_Bitmap*...) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Bitmap.H | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'FL/Fl_Bitmap.H') diff --git a/FL/Fl_Bitmap.H b/FL/Fl_Bitmap.H index 196ad9fe4..a5a9b4590 100644 --- a/FL/Fl_Bitmap.H +++ b/FL/Fl_Bitmap.H @@ -33,6 +33,7 @@ struct Fl_Menu_Item; class FL_EXPORT Fl_Bitmap : public Fl_Image { friend class Fl_Quartz_Graphics_Driver; friend class Fl_GDI_Graphics_Driver; + friend class Fl_GDI_Printer_Graphics_Driver; friend class Fl_Xlib_Graphics_Driver; public: @@ -42,7 +43,8 @@ public: int alloc_array; private: - + int start(int XP, int YP, int WP, int HP, int &cx, int &cy, + int &X, int &Y, int &W, int &H); #if defined(__APPLE__) || defined(WIN32) /** for internal use */ void *id_; -- cgit v1.2.3