ignore max curvature at end point
authorCary Clark <caryclark@google.com>
Thu, 5 Jan 2017 17:08:38 +0000 (12:08 -0500)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Thu, 5 Jan 2017 18:44:25 +0000 (18:44 +0000)
commitd4631986e6b3a668a4a86e54a0e0027b201188b9
treee4ed62effeee10f6d8e3cc5393007391fe40821c
parentefcc41805b43347444b83c1705d3d60c8d0caa70
ignore max curvature at end point

When a stroked cubic folds back on itself, the
stroker draws a round join.
If the max curvature is at
the endpoint, skip the join.

R=reed@google.com
BUG=skia:6083

Change-Id: I45e429432fcec311fa1115058515639370fe9a16
Reviewed-on: https://skia-review.googlesource.com/6606
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
gm/cubicpaths.cpp
src/core/SkStroke.cpp