Update stroke path to use rect returned from isRect (to fix trailing moveTo bug)
authorrobertphillips <robertphillips@google.com>
Mon, 29 Dec 2014 22:06:51 +0000 (14:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Dec 2014 22:06:51 +0000 (14:06 -0800)
commit4f662e62cd44e302ef689fabdb2c0ae8d9471b02
treefe32ac5d0e93b9137bc2f38ba0b6cbd06d4eecf7
parentfe7c427e3d1c2c98bce7a3fa0ae6b5864527f169
Update stroke path to use rect returned from isRect (to fix trailing moveTo bug)

This basically recreates what was done in:

https://codereview.chromium.org/16950021/ (add rect-output parameter to isRect, allowing us to return the correct bounds even if a rectagular path has a trailing moveTo) with the addition of GM representation

BUG=skia:247770

Review URL: https://codereview.chromium.org/834503002
expectations/gm/ignored-tests.txt
gm/strokefill.cpp
include/core/SkPath.h
src/core/SkPath.cpp
src/core/SkStroke.cpp