[email protected] wrote:

> Author: manolo
> Date: 2010-03-30 04:18:45 -0700 (Tue, 30 Mar 2010)
> New Revision: 7363
> Log:
> fl_copy_offscreen_with_alpha: when non-display output, asks if alpha-blending 
> is possible

Manolo, I just saw your commit, and that reminded me of this
function fl_can_do_alpha_blending() that _needs_ to be checked.

It's also used in src/Fl_Image.cxx, src/fl_draw_image_win32.cxx
and at more places in src/Fl_Double_Window.cxx.

I think that this could (or should) become an Fl_Device:: method,
probably with an internal status value whether the method has been
called before (as is done in the windows implementation with a static
variable).

This is all off the top of my head, I didn't recheck the code.

This is also related to more general changes in fl_draw_image()
that should be done to support alpha blending on all platforms
(not only on Mac OS X as it is today).

I'd like to read your comments, what do you think about it?
Any ideas?

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to