[Mono-list] How can I copy one drawable into another?

Francisco M. Marzoa fmmarzoa at gmx.net
Tue Nov 16 18:09:49 EST 2010


Hello,

Hmmmmmmm... My Cairo.Context seems to not have a DrawPixbuf function :-/

Regards,


El 16/11/10 21:43, Jonathan Pobst escribió:
> Once you have it in a PixBuf, just paint it onto your ImageSurface:
>
> using (Cairo.Context g = new Cairo.Context (mySurface)) {
>     g.DrawPixbuf (mypixbuf, new Cairo.Point (0, 0));
> }
>
>
> Jonathan



More information about the Mono-list mailing list