Go to file
Cary Clark 54ff302cdc avoid degenerate point in addPath extend mode
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>
2018-08-17 17:38:21 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench add bench for cubicmap 2018-08-15 20:51:57 +00:00
bin add --sync to adb push in bin/droid 2018-06-28 15:46:57 +00:00
dm add p3 and ep3 configs to DM 2018-08-16 18:35:12 +00:00
docker Use a larger machine for our cloud build. 2018-07-31 20:40:33 +00:00
docs fix SkPath documentation 2018-08-15 19:57:32 +00:00
example Compile with GCC 7.2.0. 2018-03-13 22:18:18 +00:00
experimental [PathKit] Adding test infrastructure to support Gold output 2018-08-15 19:25:42 +00:00
fuzz Remove occluder feature from blur mask filter 2018-08-17 14:15:30 +00:00
gm Remove occluder feature from blur mask filter 2018-08-17 14:15:30 +00:00
gn Remove occluder feature from blur mask filter 2018-08-17 14:15:30 +00:00
include Remove occluder feature from blur mask filter 2018-08-17 14:15:30 +00:00
infra Roll recipe dependencies (trivial). 2018-08-16 23:55:24 +00:00
modules [skottie] Initial text layer plumbing 2018-08-17 16:59:54 +00:00
platform_tools Prototype an Android lottie player 2018-08-02 16:20:13 +00:00
resources Add sRGB profile to mandrill images 2018-07-09 23:02:39 +00:00
samplecode move patheffect virtuals to protected and rename 2018-08-16 17:47:22 +00:00
site [PathKit] Add docs page 2018-08-17 12:27:41 +00:00
src avoid degenerate point in addPath extend mode 2018-08-17 17:38:21 +00:00
tests pathops remove degenerate line on close 2018-08-17 17:07:57 +00:00
third_party Roll skia/third_party/skcms f1e2b45d18fa..b2fffd2ecf2e (1 commits) 2018-08-16 14:50:05 +00:00
tools don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
.clang-format Update .clang-format to handle Objective-C files 2018-07-27 21:33:30 +00:00
.gitignore Add OpenCL build. 2018-06-29 13:06:57 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Fixed SkVertices crashing on Windows DLL builds 2018-04-22 14:42:01 +00:00
BUILD.gn Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 f0e3c19a0c02..3394a73db973 (2 commits) 2018-08-16 23:43:53 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Make CR and trailing whitespace errors. 2018-07-11 20:48:38 +00:00
public.bzl [Bazel] Enable GPU for Android build. 2018-08-17 13:45:57 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace change to trigger flutter roller 2018-06-22 01:18:46 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.