diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2026-01-20 17:08:08 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2026-01-20 17:08:08 +0100 |
| commit | d30ca1866463c4091c3e0bcf5ca730f409ddc78d (patch) | |
| tree | 58ca3251c14a1578a4a4bd525e6777d654485673 /src | |
| parent | 4644521f8ccce4d55585d33bd8d4c7b822a12e40 (diff) | |
Improve docu of member variable Fl_SVG_Image::proportional - cont'd (#1361)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Image.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index ff5a2671a..4727da018 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -274,6 +274,8 @@ Fl_RGB_Scaling Fl_Image::RGB_scaling() { data_w() and data_h(), respectively \note This function generally changes the values returned by the w() and h() member functions. In contrast, the values returned by data_w() and data_h() remain unchanged. + \note If the processed image is an Fl_SVG_Image, setting \ref Fl_SVG_Image::proportional + to \c false is required if \p proportional here is null. \version 1.4 (1.3.4 and FL_ABI_VERSION for Fl_Shared_Image only) Example code: scale an image to fit in a box |
