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. + +

char fl_can_do_alpha_blending()

+ +

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.

  • fl_begin_points
  • fl_begin_polygon
  • fl_brush (WIN32)
  • +
  • fl_can_do_alpha_blending
  • fl_casealphasort
  • fl_casenumericsort
  • fl_choice
  • @@ -99,11 +100,11 @@ A.
  • fl_measure
  • fl_measure_pixmap
  • fl_message
  • +
  • fl_message_font