cairo_image_surface_create() width/height limit
Submitted by martinl
Assigned to Chris Wilson @ickle
Description
With and height in cairo_image_surface_create()
seems to have defined limit on 2^15 (32768) which is more then one billion cells. But unfortunately this limit doesn't allow to create a surface with height = 1
and width > 2^15
.
Why the limit is defined for width and height separately and not for a number of cells? And how to solve the example noted above?
Thanks in advance, Martin