Polygon clipping to surface fails for large coordinate values, limitations of the API not documented.
Submitted by cu
Assigned to Carl Worth @cworth
Description
The following code demonstrates the problem on my OS X 10.5 (using either freshly compiled cairo 1.8.6 or the one that installs from Mac ports)
When the program is ran with input values of 40000000 (40 million) for either of the dimensions, the surface is not filled completely. Instead only a narrow vertical bar is filled. Surface may not be filled at all if origin is moved (see commented code).
This prevents drawing of any polygons that have sufficiently large dimensions, and must be drawn into smaller "tiles" for example.
Version: 1.8.6