summaryrefslogtreecommitdiff
path: root/src/Fl_Paged_Device.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-10-31 14:20:04 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-10-31 14:20:04 +0100
commit995a48dd003b51291bb1f2c5513c529a1ad8dfed (patch)
tree8023e155595160449e08b3d562d6667389c45dc3 /src/Fl_Paged_Device.cxx
parent96034b565769fc0e3333e1830d053c732f4178f3 (diff)
Consistently make Fl_Paged_Device::begin_page call Fl_Surface_Device::push_current.
Diffstat (limited to 'src/Fl_Paged_Device.cxx')
-rw-r--r--src/Fl_Paged_Device.cxx2
1 files changed, 2 insertions, 0 deletions
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.
*/