Following my post on SetSrcColorKey().

The documentation for IDirectFBSurface::SetSrcColorKey() says:

Set the source color key, i.e. the color that is excluded when blitting FROM
this surface TO another that has source color keying enabled.

But the source code (lines 857-859 of idirectfbsurface.c in DFB 1.0.0 says:

The new key won't be applied to this surface's state.
The new key will be taken by the destination surface to apply it
to its state when source color keying is used.

I am not sure these statements in fact directly contradict each other but
they sure confuse me.

Does the SetSrcColorKey():

a) set the source color key for this surface when this surface is the source
for a BitBlt

OR

b) set the source color key for this surface when this surface is the
destination for a BitBLT: the source color key being applied to any other
surface when that other surface is the source for a BitBLT to this surface.

I'd value advice.

Chris
========================
Chris Bore
BORES Signal Processing
[EMAIL PROTECTED]
www.bores.com
Tel:    +44 1483 740138
Mobile: +44 7921 153 219 


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

Reply via email to