[cairo] Help needed in case of cairo surface

Deepak Kumar JAIN deepak19dec at gmail.com
Tue Oct 11 08:43:39 PDT 2011


Hello All,

I want to know the size of cairo surface which i created as when i do *
malloc(sizeof(cairo_surface_t))*, compiler says *cairo_surface_t is
unrecognised.
*I try to find the size by doing
*(cairo_format_stride_for_width(format,widthimage)*heightimage),
*but i guess, this is somewhat wrong as I see error while accessing some
data location.

Looking forward to hear from someone.

Thanks in advance.

Deepak

-- 
"*I err therefore I am *"- Saint Augustine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20111011/511b24d9/attachment.htm>


More information about the cairo mailing list