From 7ab977ac86f27d2b4923e7c64d01faa2bcf99701 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 11 Mar 2018 07:17:20 +0000 Subject: Documentation: homogenize uses of "FLTK units" and "drawing units". git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_SVG_Image.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_SVG_Image.cxx') diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index 2e5904a21..3c528170c 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -240,11 +240,11 @@ void Fl_SVG_Image::draw(int X, int Y, int W, int H, int cx, int cy) { f = Fl::screen_driver()->retina_factor() * fl_graphics_driver->scale(); } int w1 = w(), h1 = h(); - /* When f > 1, there may be several pixels per drawing unit in an area + /* When f > 1, there may be several pixels per FLTK unit in an area of size w() x h() of the display. This occurs, e.g., with Apple retina displays and when the display is rescaled. The SVG is rasterized to the area dimension in pixels. The image is then drawn - scaled to its size expressed in drawing units. With this procedure, + scaled to its size expressed in FLTK units. With this procedure, the SVG image is drawn using the full resolution of the display. */ resize(f*w(), f*h()); -- cgit v1.2.3