summaryrefslogtreecommitdiff
path: root/src/Fl_PNG_Image.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-17 22:42:34 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2011-01-17 22:42:34 +0000
commitb841d90d3cdd2b27f9eeb80430a06cf73d4dd2b4 (patch)
tree9d2e28ad499c3c0955a68dc30124c5160689a8f0 /src/Fl_PNG_Image.cxx
parent0ae1054d07bb0b24061243253c1a4a997df68dd0 (diff)
Documentation updates (remaining fix for STR #2520).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_PNG_Image.cxx')
-rw-r--r--src/Fl_PNG_Image.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Fl_PNG_Image.cxx b/src/Fl_PNG_Image.cxx
index e5e04ca30..9e68ab3d8 100644
--- a/src/Fl_PNG_Image.cxx
+++ b/src/Fl_PNG_Image.cxx
@@ -3,7 +3,7 @@
//
// Fl_PNG_Image routines.
//
-// Copyright 1997-2010 by Easy Software Products.
+// Copyright 1997-2011 by Easy Software Products.
// Image support by Matthias Melcher, Copyright 2000-2009.
//
// This library is free software; you can redistribute it and/or
@@ -78,8 +78,11 @@ static void png_read_data_from_mem( png_structp png_ptr, //pointer to our data
/**
The constructor loads the named PNG image from the given png filename.
- <P>The destructor frees all memory and server resources that are used by
+
+ The destructor frees all memory and server resources that are used by
the image.
+
+ \param[in] filename Name of PNG file to read
*/
Fl_PNG_Image::Fl_PNG_Image (const char *filename): Fl_RGB_Image(0,0,0)
{
@@ -87,8 +90,9 @@ Fl_PNG_Image::Fl_PNG_Image (const char *filename): Fl_RGB_Image(0,0,0)
}
/** Constructor that reads a PNG image from memory.
+
\param name_png A name given to this image
- \param buffer Pointer to the start of the PNG image in memory
+ \param buffer Pointer to the start of the PNG image in memory
\param maxsize Size in bytes of the memory buffer containing the PNG image
*/
Fl_PNG_Image::Fl_PNG_Image (