0022f5cf1b
In inverted mode (Mode::kInverted), the trim result represents the logical segment [stop..start] (wrapping around at the path's end). We currently emit two segments [0..start] and [stop..1], in that exact order. This behavior breaks continuity for single closed contour paths. Update SkTrimPath to 1) emit the segments in the correct order ([stop..1],[0..start]) 2) skip the connecting moveTo for closed paths Bug: skia:10107 Change-Id: Icd280554ba7291c985f504793feff104df2a4a99 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281882 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
lua | ||
nima | ||
particles | ||
skottie | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README | ||
SkVMTest.expected |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg