summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-23 17:03:24 +0000
committerManolo Gouy <Manolo>2018-03-23 17:03:24 +0000
commitb8a50851fd1bc77fb910bdfdac0eab106a430e6b (patch)
tree35b0fe68f30676872dbac6c531fed721ba7168e8 /src/Fl_Image.cxx
parentbd5ec3314892145c6bd669849c092e6aedeede6c (diff)
Fix Fl_Image::copy() and its versions for derived image classes following the introduction of Fl_Image::scale()
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Image.cxx')
-rw-r--r--src/Fl_Image.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index c2ad08ca0..4cc6a8603 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -79,11 +79,10 @@ void Fl_Image::draw_empty(int X, int Y) {
}
/**
- The copy() method creates a copy of the specified
- image. If the width and height are provided, the image is
- resized to the specified size. The image should be deleted (or in
- the case of Fl_Shared_Image, released) when you are done
- with it.
+Creates a resized copy of the specified image.
+The image should be deleted (or in the case of Fl_Shared_Image, released)
+when you are done with it.
+ \param W,H width and height of the returned copied image
*/
Fl_Image *Fl_Image::copy(int W, int H) {
return new Fl_Image(W, H, d());