From f55b412582f727ec462b25222064f59756c854b6 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 16 Sep 2006 13:46:34 +0000 Subject: Added documentation for "fl_can_do_alpha_blending()" git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/drawing.html | 20 +++++++++++++------- documentation/functions.html | 14 ++++++++------ 2 files changed, 21 insertions(+), 13 deletions(-) (limited to 'documentation') 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