From b8a50851fd1bc77fb910bdfdac0eab106a430e6b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 23 Mar 2018 17:03:24 +0000 Subject: 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 --- src/Fl_Image.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/Fl_Image.cxx') 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()); -- cgit v1.2.3