Documentation: in the programming manual, mention new class Fl_SVG_Image and member function Fl_Image::scale()?

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12906 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy
2018-05-07 10:24:19 +00:00
parent c6109d9a18
commit d2355dd53b
+4 -3
View File
@@ -1029,6 +1029,8 @@ FLTK provides a base image class called Fl_Image which supports
creating, copying, and drawing images of various kinds, along creating, copying, and drawing images of various kinds, along
with some basic color operations. Images can be used as labels with some basic color operations. Images can be used as labels
for widgets using the \p image() and \p deimage() methods or drawn directly. for widgets using the \p image() and \p deimage() methods or drawn directly.
Images can be drawn scaled to any size, independently from
the size of the image's data (see Fl_Image::scale()).
The Fl_Image class does almost nothing by itself, but is instead The Fl_Image class does almost nothing by itself, but is instead
supported by three basic image types: supported by three basic image types:
@@ -1069,13 +1071,12 @@ standard image types for common file formats:
\li Fl_PNM_Image \li Fl_PNM_Image
\li Fl_XBM_Image \li Fl_XBM_Image
\li Fl_XPM_Image \li Fl_XPM_Image
\li Fl_SVG_Image
Each of these image classes loads a named file of the Each of these image classes loads a named file of the
corresponding format. The Fl_Shared_Image class corresponding format. The Fl_Shared_Image class
can be used to load any type of image file - the class examines can be used to load any type of image file - the class examines
the file and constructs an image of the appropriate type. It can also be used the file and constructs an image of the appropriate type.
to scale an image to a certain size in FLTK units, independently from its size
in pixels (see Fl_Shared_Image::scale()).
Finally, FLTK provides a special image class called Fl_Tiled_Image to Finally, FLTK provides a special image class called Fl_Tiled_Image to
tile another image object in the specified area. This class can be tile another image object in the specified area. This class can be