diff options
| author | fmalita <fmalita@chromium.org> | 2015-01-05 11:31:02 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-01-05 11:31:02 -0800 |
| commit | b280646beba5d2d247994f2241b8d0c69a1e031d (patch) | |
| tree | 15867d35370af1bce3a06904e647c85a5fd13710 /samplecode/SampleTextOnPath.cpp | |
| 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
Diffstat (limited to 'samplecode/SampleTextOnPath.cpp')
0 files changed, 0 insertions, 0 deletions
