summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-09-07 11:49:05 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-09-07 11:49:05 +0200
commit17cebc851bc55994c0e38dd3516e7f5f56f54808 (patch)
tree756f30cc35b1b6d1be6a7216477734c88a7d4371 /src/Fl_Image.cxx
parent47be73d4cb18bd5644ef31c2050a1e4b2790cdbb (diff)
Add pointer to Fl_Image::scale() to documentation of Fl_Image::copy(int, int)
Diffstat (limited to 'src/Fl_Image.cxx')
-rw-r--r--src/Fl_Image.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index fe68f457a..5fd0c8d3b 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -80,6 +80,10 @@ void Fl_Image::draw_empty(int X, int Y) {
/**
Creates a resized copy of the image.
+ It is recommended not to call this member function to reduce the size
+ of an image to the size of the area where this image will be drawn,
+ and to use Fl_Image::scale() instead.
+
The new image should be released when you are done with it.
Note: since FLTK 1.4.0 you can use Fl_Image::release() for all types