From 995a48dd003b51291bb1f2c5513c529a1ad8dfed Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 31 Oct 2021 14:20:04 +0100 Subject: Consistently make Fl_Paged_Device::begin_page call Fl_Surface_Device::push_current. --- src/Fl_Paged_Device.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Paged_Device.cxx') diff --git a/src/Fl_Paged_Device.cxx b/src/Fl_Paged_Device.cxx index 368e09856..3eb250aab 100644 --- a/src/Fl_Paged_Device.cxx +++ b/src/Fl_Paged_Device.cxx @@ -40,6 +40,7 @@ int Fl_Paged_Device::begin_job(int pagecount, int *frompage, int *topage, char * The page coordinates are initially in points, i.e., 1/72 inch, and with origin at the top left of the printable page area. + This function also makes this surface the current drawing surface with Fl_Surface_Device::push_current(). \return 0 if OK, non-zero if any error */ int Fl_Paged_Device::begin_page (void) {return 1;} @@ -82,6 +83,7 @@ void Fl_Paged_Device::rotate(float angle) {} /** \brief To be called at the end of each page. + This function also stops this surface from being the current drawing surface with Fl_Surface_Device::pop_current(). \return 0 if OK, non-zero if any error. */ -- cgit v1.2.3