Whoops, I guess that was an extension method I wrote:

public static void DrawPixbuf (this Context g, Gdk.Pixbuf pixbuf, Point 
dest)
{
        g.Save ();

        Gdk.CairoHelper.SetSourcePixbuf (g, pixbuf, dest.X, dest.Y);
        g.Paint ();
        g.Restore ();
}

Jonathan


On 11/16/2010 5:09 PM, Francisco M. Marzoa wrote:
> 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
>
>
>

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to