diff options
| author | engelsman <engelsman> | 2009-03-15 19:38:13 +0000 |
|---|---|---|
| committer | engelsman <engelsman> | 2009-03-15 19:38:13 +0000 |
| commit | 3c56a23ba19a6df6e15bdfd290465a4478d63985 (patch) | |
| tree | f796d5758a8b3c6cac41650a7acdffec47e4cecc /documentation/src | |
| parent | 9a7185384a27e67352144b1a0c392ab2191ce527 (diff) | |
added doxygen coments for more routines in fl_draw.H
FL/fl_draw.H: fl_rectf(), fl_read_image()
src/fl_draw_pixmap.cxx: fl_draw_pixmap(), fl_measure_pixmap()
documentation/src/drawing.dox: corrected paragraph link tags
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/src')
| -rw-r--r-- | documentation/src/drawing.dox | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index 4596c1a42..40c7b4470 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -821,7 +821,8 @@ If <tt>D</tt> is 4 or more, you must fill in the unused bytes with zero. <A NAME="fl_draw_pixmap"></A> <!-- For old HTML links only ! --> -int fl_draw_pixmap(char **data, int X, int Y, Fl_Color = FL_GRAY) +int fl_draw_pixmap(char* const* data, int x, int y, Fl_Color bg) <br> +int fl_draw_pixmap(const char* const* cdata, int x, int y, Fl_Color bg) \par Draws XPM image data, with the top-left corner at the given position. @@ -844,7 +845,8 @@ Fl_Color argument. To draw with true transparency you must use the Fl_Pixmap class. <A NAME="fl_measure_pixmap"></A> <!-- For old HTML links only ! --> -int fl_measure_pixmap(char **data, int &w, int &h) +int fl_measure_pixmap(char* const* data, int &w, int &h) <br> +int fl_measure_pixmap(const char* const* cdata, int &w, int &h) \par An XPM image contains the dimensions in its data. This @@ -858,7 +860,7 @@ FLTK provides a single function for reading from the current window or off-screen buffer into a RGB(A) image buffer. <A NAME="fl_read_image"></A> <!-- For old HTML links only ! --> -uchar *fl_read_image(uchar *p, int X, int Y, int W, int H, int alpha = 0); +uchar* fl_read_image(uchar *p, int X, int Y, int W, int H, int alpha) \par Read a RGB(A) image from the current window or off-screen |
