commit | 8481ccc199ba3ed03acb19b1f341394db5bcb834 | [log] [tgz] |
---|---|---|
author | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 22 18:11:06 2009 +0000 |
committer | reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Oct 22 18:11:06 2009 +0000 |
tree | b9ff3c578bb9e144e9fa5d04c4b1662c3da089b3 | |
parent | d6a5f4e2008d96a896c76ca031bece0723e16e3c [diff] |
fix quadclipper in the case that the chop function fails If the chopper fails, then we've hit some numerical edge-case, which indicates that the quad is just barely crossing the edge, so to handle that, we just clamp the Y values to the edge. This distorts the quad, but only in the case when 99% of the quad will not be affected. git-svn-id: http://skia.googlecode.com/svn/trunk@404 2bbb7eff-a529-9590-31e7-b0007b416f81