[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 20091] Polygon clipping to surface fails for
From:       bugzilla-daemon () freedesktop ! org
Date:       2009-02-13 10:13:28
Message-ID: 20090213101328.9C5E513005A () annarchy ! freedesktop ! org
[Download RAW message or body]

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





--- Comment #5 from M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>  2009-02-13 02:13:26 PST ---
Hi,

I'm sorry I didn't have my brain switched on while looking at your test case
earlier so completely missed the obvious problem: The input coordinates
overflow cairo's internal fixed point numbers used to represent polygon
geometry, and the resulting overflowed coordinates aren't to be trusted
anymore.  The current format uses 24 bits to address the pixel and eight bits
to address fractions of a pixel, leaving the valid coordinate range in the +-8M
range.  This is up from the +32k range we had earlier, but obviously not the
full double precision range.  So this is an expected failure after all. :|

I'm leaving this bug report open as a reminder until we prominently document
the input coordinate restrictions and fail in a meaningful way in the face of
large numbers.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic