From d8d04bf772e1d98e87d3c383c603ee8db6e69301 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 11 Mar 2018 14:49:09 +0000 Subject: Documentation: homogenize to 'scale factor' and 'drawing unit' git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12737 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Image_Surface.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index bf115dcfa..9333d858a 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -186,9 +186,12 @@ void fl_end_offscreen() { Fl_Surface_Device::pop_current(); } -/** Adapts an offscreen buffer to a changed value of the graphical scaling factor. +/** Adapts an offscreen buffer to a changed value of the scale factor. The \p ctx argument must have been created by fl_create_offscreen() and the calling context must not be between fl_begin_offscreen() and fl_end_offscreen(). + The graphical content of the offscreen is preserved. The current scale factor + value is given by Fl_Graphics_Driver::default_driver().scale(). + \version 1.4 */ void fl_scale_offscreen(Fl_Offscreen &ctx) { int i, w, h; -- cgit v1.2.3