commit | b280646beba5d2d247994f2241b8d0c69a1e031d | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Mon Jan 05 11:31:02 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jan 05 11:31:02 2015 -0800 |
tree | 15867d35370af1bce3a06904e647c85a5fd13710 | |
parent | 942262fcb5d4cc35231d698df70e53a101fef679 [diff] |
Fix thin rect stroking. When both edges of a thin (sub-unit) stroke fall within the same pixel, we compute the wrong coverage and also blit the same line twice. To avoid these issues, tweak the inner/outer hulls to ensure one of the edges is always pixel-aligned. BUG=skia:3278 R=reed@google.com Review URL: https://codereview.chromium.org/819253003