FLTK logo

[master] f718943 - Minor fix in doc of the Fl_Image_Surface constructor.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] f718943 - Minor fix in doc of the Fl_Image_Surface constructor. "ManoloFLTK" Oct 14, 2020  
 
commit f718943e6fbcf89297e61466068405452d7f8ae6
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Wed Oct 14 13:36:40 2020 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Wed Oct 14 13:36:50 2020 +0200

    Minor fix in doc of the Fl_Image_Surface constructor.

 src/Fl_Image_Surface.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git src/Fl_Image_Surface.cxx src/Fl_Image_Surface.cxx
index dc4c7f7..e273a4c 100644
--- src/Fl_Image_Surface.cxx
+++ 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.
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.