diff options
author | Chris Dalton <csmartdalton@google.com> | 2018-03-21 23:13:45 -0600 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-26 21:58:44 +0000 |
commit | b709f27bc0161117101aff4adfda32d38fd8e17b (patch) | |
tree | 4f97b228297a201fe4b035f9148c88f4e7e9fd62 /resources | |
parent | fb4487b06a1535a0fa413af25d14632d91a5a2e4 (diff) |
ccpr: Use Manhattan distance for curve AA
Manhattan distance has the nice property that every pixel crossed
anywhere by the curve gets a fractional coverage value, whereas pixels
not touched by the curve will have zero coverage. This arguably looks
better on its own merits, but it also helps the curves blend more
seamlessly with their adjoining edges, which are already using Manhattan
distance.
Bug: skia:
Change-Id: I31cf28171d0b74512c74dca1088e50f0f442b924
Reviewed-on: https://skia-review.googlesource.com/115781
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'resources')
0 files changed, 0 insertions, 0 deletions