[cairo] invalid value (typically too big) for the size of the input (surface, pattern, etc.)
naughtykid001 at gmail.com
Mon Dec 20 17:03:35 PST 2010
Hi Cairo Developers,
I got the error from below's code in latest cairo version(1.10.0). My height
and width is more that 32767.
Is there a limited size for surface? Thanks.
_image = new unsigned char[height * pitch];
memset(_image, 0, height * pitch * sizeof(unsigned char));
_surface = ::cairo_image_surface_create_for_data(_image
"naughty in the way of creative, not mischief"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo