[cairo] some confusion about cairo_surface_t

Simon Sapin simon.sapin at exyr.org
Wed Jan 23 02:50:27 PST 2013


Le 23/01/2013 09:39, 530125717 a écrit :
> As above codes show, I'd like to buffer something in "cairo_surface_sub",
> and then use "cairo_surface_sub" as the source of "cairo_image_main".
> I don't know how to connect them, who can help me now?

Hi,

I think you’re looking for the cairo_set_source_surface() function:

http://cairographics.org/manual/cairo-cairo-t.html#cairo-set-source-surface

-- 
Simon Sapin


More information about the cairo mailing list