summaryrefslogtreecommitdiff
path: root/src/Fl_Shared_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_Shared_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_Shared_Image.cxx')
-rw-r--r--src/Fl_Shared_Image.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_Shared_Image.cxx b/src/Fl_Shared_Image.cxx
index 4eea49e76..b2e00f6b3 100644
--- a/src/Fl_Shared_Image.cxx
+++ b/src/Fl_Shared_Image.cxx
@@ -376,12 +376,12 @@ void Fl_Shared_Image::draw(int X, int Y, int W, int H, int cx, int cy) {
/** Sets the drawing size of the shared image.
This function gives the shared image its own size, independently from the size of the original image
that is typically larger.
- This can be useful to draw a shared image on a drawing surface whose resolution is higher
- than the drawing unit for this surface: all pixels of the original image become available to fill
- an area of the drawing surface sized at <tt>width,height</tt>.
- Examples of such drawing surfaces: laser printers, PostScript files, PDF printers, HiDPI displays.
+ This can be useful to draw a shared image on a drawing surface with more than 1 pixel per
+ FLTK unit: all pixels of the original image become available to fill an area of the drawing surface
+ sized at <tt>width,height</tt> FLTK units.
+ Examples of such drawing surfaces: HiDPI displays, laser printers, PostScript files, PDF printers.
- \param width,height maximum width and height (in drawing units) to use when drawing the shared image
+ \param width,height maximum width and height (in FLTK units) to use when drawing the shared image
\param proportional if not null, keep the width and height of the shared image proportional to those of its original image
\param can_expand if null, the width and height of the shared image will not exceed those of the original image