diff options
| author | Manolo Gouy <Manolo> | 2018-04-19 07:46:44 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-04-19 07:46:44 +0000 |
| commit | 0196998ea609e0f182df043d35312a32748234ed (patch) | |
| tree | f840da0b2e1d27bff13dec55bd9973d26761032f /src/Fl_Image.cxx | |
| parent | 5bba4776ae3d1fbcfab4fd32b899362a3ca2fded (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
Diffstat (limited to 'src/Fl_Image.cxx')
| -rw-r--r-- | src/Fl_Image.cxx | 2 |
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) |
