[cairo] Copy a drawable to a cairo surface

Tobias Ceglarek dev at ceglarek.eu
Wed Aug 1 02:30:56 PDT 2007


Thank you both for your explanations!

> But at least you can take advantage of
> the fact that GDK must create a
> surface as part of implementing its
> cairo_create, so you can extract
> the target surface from the context:
> ...
> And now that you have that surface you can copy it

I have tried out. It is a good solution for my purpose, thank you very
much.

We can hope that there will be a patch in a further GTK version:
http://bugzilla.gnome.org/show_bug.cgi?id=offscreen

Regards,

Tobias



More information about the cairo mailing list