summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-09-04 08:38:06 +0000
committerManolo Gouy <Manolo>2017-09-04 08:38:06 +0000
commit276b8255e2dab263108890db1af1469cc1bdc653 (patch)
treea09af1715f1da5bd8a03f1152997667611f5e652
parentdd9f32c3f5dbe5b157a554ebd148f619c9279841 (diff)
Improve doc of the Fl_SVG_Image public constructor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12420 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_SVG_Image.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx
index bbb0c4487..f8c62dad6 100644
--- a/src/Fl_SVG_Image.cxx
+++ b/src/Fl_SVG_Image.cxx
@@ -33,9 +33,9 @@
/** The constructor loads the SVG image from the given .svg filename or in-memory data.
- \param filename A full path and name pointing to an SVG file.
+ \param filename A full path and name pointing to an SVG file, or NULL.
\param filedata A pointer to the memory location of the SVG image data.
- This parameter allows to load an SVG image from in-memory data, and requires that \p filename is NULL.
+ This parameter allows to load an SVG image from in-memory data, and is used when \p filename is NULL.
\note In-memory SVG data is modified by the object constructor and is no longer used after construction.
*/
Fl_SVG_Image::Fl_SVG_Image(const char *filename, char *filedata) : Fl_RGB_Image(NULL, 0, 0, 4) {