summaryrefslogtreecommitdiff
path: root/src/Fl_Image.cxx
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2015-04-28 20:51:32 +0000
committerGreg Ercolano <erco@seriss.com>2015-04-28 20:51:32 +0000
commit1c7daeca631f6bbf88b99f9ecd79a5cedd64f550 (patch)
tree4283a0a19cca0b2562a396e512f878549096c8fe /src/Fl_Image.cxx
parent8477a8108b6fa07ce66ef94d2405a8d85015b7af (diff)
Doc clarifications for Fl_Image methods:
> inactive() > desaturate() > color_average() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Image.cxx')
-rw-r--r--src/Fl_Image.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx
index 4dea195db..d12de0ecc 100644
--- a/src/Fl_Image.cxx
+++ b/src/Fl_Image.cxx
@@ -87,8 +87,10 @@ Fl_Image *Fl_Image::copy(int W, int H) {
argument specifies the amount of the original image to combine
with the color, so a value of 1.0 results in no color blend, and
a value of 0.0 results in a constant image of the specified
- color. <I>The original image data is not altered by this
- method.</I>
+ color.
+
+ An internal copy is made of the original image before
+ changes are applied, to avoid modifying the original image.
*/
void Fl_Image::color_average(Fl_Color, float) {
}
@@ -96,8 +98,10 @@ void Fl_Image::color_average(Fl_Color, float) {
/**
The desaturate() method converts an image to
grayscale. If the image contains an alpha channel (depth = 4),
- the alpha channel is preserved. <I>This method does not alter
- the original image data.</I>
+ the alpha channel is preserved.
+
+ An internal copy is made of the original image before
+ changes are applied, to avoid modifying the original image.
*/
void Fl_Image::desaturate() {
}