Re: Binary size of a cairo surface
Behdad Esfahbod <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 14-09-03 07:27 PM, ax487 wrote: > Hello all, > > I was just wondering, is it possible to get the actual binary size of a > cairo_surface_t* created by cairo_image_surface_create. I am guessing > that this should be proportional to width*height where the actual size > depends on the given cairo_format_t. Is there some function to determine > this value? size = cairo_format_stride_for_width(format, width) * height; -- behdad http://behdad.org/ -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo