From 914ee02c5f60c81e4781b94a11f8f0e974a8178e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 1 Nov 2023 12:26:54 +0100 Subject: Fix typos in documentation --- src/Fl_Image.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit v1.2.3