[cairo-bugs] [Bug 20091] Polygon clipping to surface fails for large coordinate values, limitations of the API not documented.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 20 10:15:57 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=20091

--- Comment #7 from Peter Seefried <peter.seefried at gmx.de> ---
I experience some crap drawing with much smaller numbers when doing..

cairo_move_to (cr, x1, y1 );
cairo_line_to (cr, x2, y2 );

with
 x1=700,457386   y1=478,073704   x2=39032,412069   y2=141,069173

Probably cairo does some internal computation, and maybe some of the values
there exceed the limit.

As a workaround, some clipping code before calling cairo_bla should work. But..

degree_of_reliance--;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20150920/e32fce3a/attachment.html>


More information about the cairo-bugs mailing list