[cairo] How can I save a Cario context to a file?
Jeremy Moles
jeremy at emperorlinux.com
Fri Jan 6 09:38:04 PST 2006
I think (<--still very new to Cairo) that this is going to be something
that falls not within the scope of your "drawing context" but rather the
"surface" you are using. PNG surfaces have a utility function to help
with this, though I'm guessing you could probably dump raw pixel data
from Image surfaces using the _from_data function and using whatever IO
routines you fancy.
On Thu, 2006-01-05 at 11:47 -0500, yinglcs at aim.com wrote:
> Hi,
>
> If I pointer to a cairo drawing surface, (see below), how can I save
> the whole context to a file?
> cairo_t * mCairo
> I am running cairo on RedHat Linux.
>
> Thank you.
>
> ________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of storage and
> industry-leading spam and email virus protection.
>
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://cairographics.org/cgi-bin/mailman/listinfo/cairo
More information about the cairo
mailing list