commit | abf15c189b6333aa77a6c3f566cc67f4634ba338 | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jan 18 20:35:51 2011 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Jan 18 20:35:51 2011 +0000 |
tree | 28481afbaea99cfeda68ed340b5abf66a19d3334 | |
parent | 3f3ffd6ad9fa4cbaef1f2a2efee2b03bf5891b3e [diff] |
don't use SkAutoPathBoundsUpdate until after we've checked for degenerate dimensions, otherwise we might set the bounds, only to then abort and not set any points. Fixes assert if you call addRoundRect(r, 10, 10) when r is inverted (i.e. r.fLeft > r.fRight) git-svn-id: http://skia.googlecode.com/svn/trunk@704 2bbb7eff-a529-9590-31e7-b0007b416f81