Thanks I saw that and was wondering about it.
I need to map the cairo extended porter-duff ops to the directfb ops.
There all closely related but the split is different.
I guess I need to bit the bullet and dig in and get the actual pixel
op for each case.

I thought that
 dest->SetPorterDuff(dest,DSPD_SRC);
would work and use the src alpha ?

Mike


On 10/16/05, Ville Syrjälä <[EMAIL PROTECTED]> wrote:
> On Sun, Oct 16, 2005 at 08:59:29AM -0500, Mike Emmel wrote:
> > On a related note
> > SetColor(surface,0,0,0,0);
> > FillRectangle(surface,x,y,w,h);
> >
> > On a non Alpha surfaces in my case RGB16 seemed
> > to fill the surface with black instead of being a no-op like
> > I expected since the alpha should have resulted in the original color
> > remaining ?
> > Or am I just doing something stupid ?
>
> You must use DSDRAW_BLEND if you want to blend the colors.
>
> --
> Ville Syrjälä
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to