Help needed in case of cairo surface

Deepak Kumar JAIN <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CA+5sP98k+DM97TgKx=FpCUj1sVBJiEd1yGGfto84r0D4bMGM3w@mail.gmail.com>
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

--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.