[cairo] Background image
daniel.amelang at gmail.com
Thu Feb 15 12:26:12 PST 2007
On 2/15/07, Olivier Jolet <olivier.jolet at skynet.be> wrote:
> 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?
Looks good to me. Are you running into some problem with this method?
More information about the cairo