54ff302cdc
SkPath::addPath(... SkPath::kExtend_AddPathMode) duplicates the last point if the added path first point is the same, resulting in: path.xVerbTo(..., pt); path.lineTo(pt); The extra point has no effect in filling or stroking. Pathops uses extend mode a lot; fixing this avoids the output of Op() and Simplify() requiring another pass through Simplify() to reduce the path to its minimum. R=reed@google.com,robertphillips@google.com Bug: skia:8227 Change-Id: I7d660b6dc45e37221abf351dd291b90c303943ec Reviewed-on: https://skia-review.googlesource.com/147810 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Cary Clark <caryclark@skia.org> |
||
---|---|---|
animations | ||
bench | ||
bin | ||
dm | ||
docker | ||
docs | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
src | ||
tests | ||
third_party | ||
tools | ||
.clang-format | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
Doxyfile | ||
LICENSE | ||
OWNERS | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
whitespace.txt |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.