diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-14 13:36:40 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2020-10-14 13:36:50 +0200 |
| commit | f718943e6fbcf89297e61466068405452d7f8ae6 (patch) | |
| tree | b3bdef4b2794e9c3f7068602b4693ddb2632c823 /src/Fl_Image_Surface.cxx | |
| parent | 966e15fe376cb931e543c69371627cfa00bfc6a8 (diff) | |
Minor fix in doc of the Fl_Image_Surface constructor.
Diffstat (limited to 'src/Fl_Image_Surface.cxx')
| -rw-r--r-- | src/Fl_Image_Surface.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Image_Surface.cxx b/src/Fl_Image_Surface.cxx index dc4c7f77f..e273a4c2f 100644 --- a/src/Fl_Image_Surface.cxx +++ b/src/Fl_Image_Surface.cxx @@ -19,12 +19,12 @@ #include <FL/fl_draw.H> // necessary for FL_EXPORT fl_*_offscreen() /** Constructor with optional high resolution. - \param w and \param h set the size of the resulting image. The value of the \p high_res - parameter controls whether \p w and \p h are interpreted as pixel or FLTK units. + \param w,h Width and height of the resulting image. The value of the \p high_res + parameter controls whether \p w and \p h are interpreted as pixels or FLTK units. \param high_res If zero, the created image surface is sized at \p w x \p h pixels. If non-zero, the pixel size of the created image surface depends on - the value of the display scale factor (see Fl_Graphics_Driver::scale()): + the value of the display scale factor (see Fl::screen_scale(int)): the resulting image has the same number of pixels as an area of the display of size \p w x \p h expressed in FLTK units. |
