[cairo] Background image

Olivier Jolet olivier.jolet at skynet.be
Thu Feb 15 03:00:50 PST 2007


I need to use a background image (of course always the same). 
Actually, I draw the background image in a surface "surfBG " and before
each draw, I use 
cairo_set_source_surface (cr, surfBG, 0, 0);
cairo_paint (cr);  
But I'm not sure that's the better way to do it... 
Is there a better method to use a background?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/cairo/attachments/20070215/70cf081c/attachment.html


More information about the cairo mailing list