[cairo] How to draw a Rect with red border

yinglcs2 at yahoo.com yinglcs2 at yahoo.com
Mon Jan 23 10:19:06 PST 2006


How can I draw a Rect with red border?

I know the function cairo_rectangle() to draw a Rect,
but how can I set the color to "red"?

 cairo_rectangle(aSurf, 20, 20, 40, 40);

Thank you.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the cairo mailing list