From ffdc36dcb690b458b240e90dfed06c27cb6a62bb Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 26 Oct 2014 15:23:03 +0000 Subject: Print at high res with Fl_Paged_Device::print_window_part() when using a retina display git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Printer.H | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'FL/Fl_Printer.H') diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H index a70670473..d7840dcfe 100644 --- a/FL/Fl_Printer.H +++ b/FL/Fl_Printer.H @@ -3,7 +3,7 @@ // // Printing support for the Fast Light Tool Kit (FLTK). // -// Copyright 2010-2011 by Bill Spitzak and others. +// Copyright 2010-2014 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -84,6 +84,9 @@ public: void untranslate(void); int end_page (void); void end_job (void); +#ifdef __APPLE__ + void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x, int delta_y); +#endif /** \brief The destructor */ ~Fl_System_Printer(void); }; // class Fl_System_Printer -- cgit v1.2.3