From 0196998ea609e0f182df043d35312a32748234ed Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Thu, 19 Apr 2018 07:46:44 +0000 Subject: Documentation: simplify example code for Fl_Image::scale() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12855 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Image.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index 0142d209d..3678d45da 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -257,8 +257,6 @@ Fl_RGB_Scaling Fl_Image::RGB_scaling() { // set the drawing size of the image to the size of the box keeping its aspect ratio img->scale(b->w(), b->h()); b->image(img); // use the image as the box image - // the image is to be drawn centered in the box - b->align(FL_ALIGN_INSIDE | FL_ALIGN_CENTER | FL_ALIGN_CLIP); \endcode */ void Fl_Image::scale(int width, int height, int proportional, int can_expand) -- cgit v1.2.3