diff --git a/documentation/drawing.html b/documentation/drawing.html index 90f9ae6f3..efd8075db 100644 --- a/documentation/drawing.html +++ b/documentation/drawing.html @@ -865,13 +865,19 @@ color. The draw() method draws the image using the colors in the file, and masks off any transparent colors automatically. -
The Fl_RGB_Image class encapsulates a full-color (or -grayscale) image with 1 to 4 color components. Images with an -even number of components are assumed to contain an alpha -channel that is used for transparency. The transparency provided -by the draw() method is either a 24-bit blend against -the existing window contents or a "screen door" transparency -mask, depending on the platform and screen color depth. +
The Fl_RGB_Image class encapsulates a full-color +(or grayscale) image with 1 to 4 color components. Images with +an even number of components are assumed to contain an +alpha channel that is used for transparency. The transparency +provided by the draw() method is either a 24-bit +blend against the existing window contents or a "screen door" +transparency mask, depending on the platform and screen color depth. + +
fl_can_do_alpha_blending() will return 1, if your +platform supports true alpha blending for RGBA images, or 0, +if FLTK will use screen door transparency.
FLTK also provides several image classes based on the three standard image types for common file formats: diff --git a/documentation/functions.html b/documentation/functions.html index 1ac7f952d..e85f17617 100644 --- a/documentation/functions.html +++ b/documentation/functions.html @@ -27,6 +27,7 @@ A.