diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-26 18:56:26 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-26 18:56:26 +0000 |
| commit | 85f98758eeaad3094e5397fb89b68264b8092ad3 (patch) | |
| tree | d93d24ed616627850cea7b4bcc72275aadc2191d /src | |
| parent | eba128dcc01aae25f688a05683436ab4d508aef6 (diff) | |
Add note about using RENDER extension in the future for proper alpha
rendering.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Image.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index ef16ad802..8e227200b 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Image.cxx,v 1.5.2.3.2.9 2001/11/25 16:38:11 easysw Exp $" +// "$Id: Fl_Image.cxx,v 1.5.2.3.2.10 2001/11/26 18:56:26 easysw Exp $" // // Image drawing code for the Fast Light Tool Kit (FLTK). // @@ -298,7 +298,13 @@ void Fl_RGB_Image::draw(int XP, int YP, int WP, int HP, int cx, int cy) { }; // Right now do a "screen door" alpha mask; not always pretty, but - // definitely fast... + // definitely fast... In the future we should look at supporting + // the RENDER extension in XFree86, when available, to provide + // true RGBA-blended rendering. See: + // + // http://www.xfree86.org/~keithp/render/protocol.html + // + // for more info... memset(bitmap, 0, bmw * h()); for (dataptr = array + d() - 1, y = 0; y < h(); y ++, dataptr += ld()) @@ -358,5 +364,5 @@ void Fl_RGB_Image::label(Fl_Menu_Item* m) { // -// End of "$Id: Fl_Image.cxx,v 1.5.2.3.2.9 2001/11/25 16:38:11 easysw Exp $". +// End of "$Id: Fl_Image.cxx,v 1.5.2.3.2.10 2001/11/26 18:56:26 easysw Exp $". // |
