DescriptionFix 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
Committed: https://skia.googlesource.com/skia/+/b280646beba5d2d247994f2241b8d0c69a1e031d
Patch Set 1 #Patch Set 2 : cleanup + gm suppression #Patch Set 3 : rebased #
Total comments: 2
Patch Set 4 : formatting #Messages
Total messages: 8 (2 generated)
|