summaryrefslogtreecommitdiff
path: root/src/Fl_SVG_Image.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2018-03-11 07:17:20 +0000
committerManolo Gouy <Manolo>2018-03-11 07:17:20 +0000
commit7ab977ac86f27d2b4923e7c64d01faa2bcf99701 (patch)
tree483ec8524fdc71006fffb0758bce59578b6f7ea9 /src/Fl_SVG_Image.cxx
parent67fc24f3d26b5a6eb248759a5cafe65444b7835a (diff)
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
Diffstat (limited to 'src/Fl_SVG_Image.cxx')
-rw-r--r--src/Fl_SVG_Image.cxx4
1 files changed, 2 insertions, 2 deletions
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());