summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-04-19 07:46:44 +0000
committerManolo Gouy <Manolo>2018-04-19 07:46:44 +0000
commit0196998ea609e0f182df043d35312a32748234ed (patch)
treef840da0b2e1d27bff13dec55bd9973d26761032f
parent5bba4776ae3d1fbcfab4fd32b899362a3ca2fded (diff)
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
-rw-r--r--src/Fl_Image.cxx2
1 files changed, 0 insertions, 2 deletions
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)