diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-01 12:26:54 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-01 12:26:54 +0100 |
| commit | 914ee02c5f60c81e4781b94a11f8f0e974a8178e (patch) | |
| tree | da334479459e4b4c373d42a1c772e8339f9ee436 /src/Fl_Image.cxx | |
| parent | 994f5d058b721005bba3c2b5baae7aa0486c7f44 (diff) | |
Fix typos in documentation
Diffstat (limited to 'src/Fl_Image.cxx')
| -rw-r--r-- | src/Fl_Image.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index 2b86c3ab8..ec8606cb8 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -93,15 +93,15 @@ void Fl_Image::draw_empty(int X, int Y) { - w() == data_w() == \p W - h() == data_h() == \p H - Note: the returned image can be safely cast to the same image type as that + \param[in] W,H Requested width and height of the new image + + \note The returned image can be safely cast to the same image type as that of the source image provided this type is one of Fl_RGB_Image, Fl_SVG_Image, Fl_Pixmap, Fl_Bitmap, Fl_Tiled_Image, Fl_Anim_GIF_Image and Fl_Shared_Image. Returned objects copied from images of other, derived, image classes belong to the parent class appearing in this list. For example, the copy of an Fl_GIF_Image is an object of class Fl_Pixmap. - \param[in] W,H Requested width and height of the new image - \note Since FLTK 1.4.0 this method is 'const'. If you derive your own class from Fl_Image or any subclass your overridden methods of 'Fl_Image::copy() const' and 'Fl_Image::copy(int, int) const' \b must also be 'const' for inheritage |
