commit | 6d88bdb6f1408ec9861ee1306a026e15c5bacc9c | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Mon Apr 20 05:41:48 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 20 05:41:48 2015 -0700 |
tree | 84d23a922eab0e5813920c0c53875131ce912a5c | |
parent | a8ec4805db3a3cfd34926b89d6963700fb0ff0c1 [diff] |
Fix point count computation in tessellating path renderer. The conic, quadratic and cubic computations were using tolerance^2 instead of tolerance when computing maximum point count, causing paths to be undertessellated when magnifying and overtessellated when minifying. (Funny story: this bug went unnoticed back when we were tessellating paths in screen space, when tolerance and its square were both 1.) BUG=skia:3731 Review URL: https://codereview.chromium.org/1095773003