summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Image_Surface.cxx5
1 files changed, 4 insertions, 1 deletions
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 <tt>Fl_Graphics_Driver::default_driver().scale()</tt>.
+ \version 1.4
*/
void fl_scale_offscreen(Fl_Offscreen &ctx) {
int i, w, h;