On Mon, Sep 19, 2005 at 12:57:33AM -0400, Chris @ Napatech wrote: > I have a question regarding surface drawing and alpha transparency. The > default behaviour when executing the function SetColor with a > translucent alpha value followed by a DrawLine for example, will yield a > hole in the Window to which the surface belongs. Is there a way in > changing the rendering behaviour of the DrawLine so that it blends the > line to whatever else has previously been drawn to the window, rather > than making a translucent hole through the window? Thanks.
SetDrawingFlags(DSDRAW_BLEND) You can further modify the blending behavior with SetSrcBlendFunction() and SetDstBlendFunction(), or with SetPorterDuff(). -- 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
