On Tue, 2002-01-29 at 12:40, Johannes Zellner wrote:
> Hi,
> 
> after using SetColor() with arbitrary colors my DrawLine / FillTriangle
> operations still draw with black. How do I really set the color ?

you can set the color with SetColor(), I dont know what went wrong. 

surface->SetColor( surface, 0xFF, 0x00, 0x00, 0xFF );
surface->DrawLine( surface, 100, 100, 200, 200 );

should work.

maybe you draw on a ARGB surface, and set the color to 
surface->SetColor( surface, red, green, blue, 0x00 );

?

andi






-- 
Info:  To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-dev" as subject.

Reply via email to