http://www.directfb.org
index.html
DirectFB Reference Manual
IDirectFBSurface.html
IDirectFBSurface
SetColor
Set the color used for drawing/text functions or alpha/color modulation (blitting functions).
SetColor (
IDirectFBSurface.html
IDirectFBSurface
*
thiz,
__u8
r,
__u8
g,
__u8
b,
__u8
a
);
If you are not using the alpha value it should be set to 0xff to ensure visibility when the code is ported to or used for surfaces with an alpha channel.
This method should be avoided for surfaces with an indexed pixelformat, e.g. DSPF_LUT8, otherwise an expensive search in the color/alpha lookup table occurs.
