From d30ca1866463c4091c3e0bcf5ca730f409ddc78d Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 20 Jan 2026 17:08:08 +0100 Subject: Improve docu of member variable Fl_SVG_Image::proportional - cont'd (#1361) --- src/Fl_Image.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Fl_Image.cxx') 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 -- cgit v1.2.3