aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorCary Clark <caryclark@skia.org>2018-08-16 11:53:54 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-08-17 14:01:51 +0000
commit7d06e2642b5592c926c2e508aa6c3cd64c9009cd (patch)
tree84761874df9e14436ff9d2384b46470dc5c5b545 /resources
parent773151fec905581c968f222f9b4a45aebbfb772d (diff)
downloadskqp-7d06e2642b5592c926c2e508aa6c3cd64c9009cd.tar.gz
fixup winding contours
Add AsWinding to convert SkPath with even odd fill to winding fill. This basic implementation works for simple non-intersecting paths. It may fail if contours in paths touch, specifically when the leftmost point in a contour is shared with another contour. The incomplete parts are marked with TODO in the code. If this interface and implementation look promising, I will continue to tackle the more difficult cases. R=reed@google.com,bungeman@google.com Bug: skia:7682 Change-Id: I479fba60072eb1391b451fcb819504245da2e2a9 Reviewed-on: https://skia-review.googlesource.com/147044 Commit-Queue: Cary Clark <caryclark@google.com> Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'resources')
0 files changed, 0 insertions, 0 deletions