diff options
| author | Manolo Gouy <Manolo> | 2018-05-07 10:24:19 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2018-05-07 10:24:19 +0000 |
| commit | d2355dd53b6d7addaccf071fa68ae75f861be967 (patch) | |
| tree | 92a56a60c52ab00d28e28bfec3128d66949994a2 /documentation | |
| parent | c6109d9a185d195b4517504248cd52dc929bdb09 (diff) | |
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
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/drawing.dox | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index cc2bc73bf..d93f1bfe4 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -1029,6 +1029,8 @@ FLTK provides a base image class called Fl_Image which supports creating, copying, and drawing images of various kinds, along with some basic color operations. Images can be used as labels 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 supported by three basic image types: @@ -1069,13 +1071,12 @@ standard image types for common file formats: \li Fl_PNM_Image \li Fl_XBM_Image \li Fl_XPM_Image +\li Fl_SVG_Image Each of these image classes loads a named file of the corresponding format. The Fl_Shared_Image class 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 -to scale an image to a certain size in FLTK units, independently from its size -in pixels (see Fl_Shared_Image::scale()). +the file and constructs an image of the appropriate type. Finally, FLTK provides a special image class called Fl_Tiled_Image to tile another image object in the specified area. This class can be |
