diff options
| author | Manolo Gouy <Manolo> | 2017-11-03 09:04:56 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2017-11-03 09:04:56 +0000 |
| commit | 3d53e5b496e20cddf9a44ff51cf582f9ee5916ab (patch) | |
| tree | c2a4435d270623d0194beb2a58180ec8ead63a00 /src/Fl_SVG_Image.cxx | |
| parent | 127147ca976a3151f8a6e307d0d7e482e987d29f (diff) | |
Doxygen doc: minor rewording for the Fl_SVG_Image class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_SVG_Image.cxx')
| -rw-r--r-- | src/Fl_SVG_Image.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Fl_SVG_Image.cxx b/src/Fl_SVG_Image.cxx index 3ee48cd5f..83e41a24a 100644 --- a/src/Fl_SVG_Image.cxx +++ b/src/Fl_SVG_Image.cxx @@ -45,13 +45,13 @@ static double strtoll(const char *str, char **endptr, int base) { /** The constructor loads the SVG image from the given .svg/.svgz filename or in-memory data. - \param filename A full path and name pointing to a .svg or .svgz file, or NULL. - \param filedata A pointer to the memory location of the SVG image data. + \param filename The full path and name of a .svg or .svgz file, or NULL. + \param svg_data A pointer to the memory location of the SVG image data. 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 parsed by the object constructor and is no longer used after construction. + \note In-memory SVG data is parsed by the object constructor and is not used after construction. */ -Fl_SVG_Image::Fl_SVG_Image(const char *filename, const char *filedata) : Fl_RGB_Image(NULL, 0, 0, 4) { - init_(filename, filedata, NULL); +Fl_SVG_Image::Fl_SVG_Image(const char *filename, const char *svg_data) : Fl_RGB_Image(NULL, 0, 0, 4) { + init_(filename, svg_data, NULL); } @@ -208,7 +208,7 @@ Fl_Image *Fl_SVG_Image::copy(int W, int H) { /** Have the svg data (re-)rasterized using the given width and height values. By default, the resulting image w() and h() will preserve the width/height ratio of the SVG data. - If \ref proportional was set to false, the image is rasterized to the given \c width + If \ref proportional was set to \c false, the image is rasterized to the given \c width and \c height values.*/ void Fl_SVG_Image::resize(int width, int height) { if (ld() < 0) { |
