diff options
| author | Ian MacArthur <imacarthur@gmail.com> | 2018-02-10 00:02:09 +0000 |
|---|---|---|
| committer | Ian MacArthur <imacarthur@gmail.com> | 2018-02-10 00:02:09 +0000 |
| commit | b8ad5c2bd652e73e0719487313377da055b2bd8a (patch) | |
| tree | 1f761a18b5ec085e65f121eb8147f911087697b5 /src/fl_read_image.cxx | |
| parent | c7b5d61eb002674bf3793ff38ceaa1c096b9c4dc (diff) | |
Fix trivial typo that was upsetting doxygen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12659 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_read_image.cxx')
| -rw-r--r-- | src/fl_read_image.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_read_image.cxx b/src/fl_read_image.cxx index d3d32877f..c3357b14d 100644 --- a/src/fl_read_image.cxx +++ b/src/fl_read_image.cxx @@ -24,15 +24,15 @@ Reads an RGB(A) image from the current window or off-screen buffer. \param[in] p pixel buffer, or NULL to allocate one \param[in] X,Y position of top-left of image to read - \param[in] W,H width and height of image to read + \param[in] w,h width and height of image to read \param[in] alpha alpha value for image (0 for none) \returns pointer to pixel buffer, or NULL if allocation failed. - + The \p p argument points to a buffer that can hold the image and must be at least \p W*H*3 bytes when reading RGB images, or \p W*H*4 bytes when reading RGBA images. If NULL, fl_read_image() will create an array of the proper size which can be freed using <tt>delete[]</tt>. - + The \p alpha parameter controls whether an alpha channel is created and the value that is placed in the alpha channel. If 0, no alpha channel is generated. |
