experimental tight-bounds
authorMike Reed <reed@google.com>
Fri, 3 Feb 2017 01:45:56 +0000 (17:45 -0800)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Fri, 3 Feb 2017 15:19:05 +0000 (15:19 +0000)
commit0d7dac8fb8c404cada8d46646a980772b9dc55d6
tree3aebab340b2369c39a02dbd50de770bdd2722c90
parent113628d76176a1ab3e6719c59efff23cd10ab213
experimental tight-bounds

not sure about api -- perhaps it could just return the bounds, and make them 0,0,0,0 if the path
is empty -- the caller can trivially know if the path is empty themselves.

BUG=skia:

Change-Id: I2dbb861e8d981b27c5a6833643977f5bd6802217
Reviewed-on: https://skia-review.googlesource.com/7989
Reviewed-by: Cary Clark <caryclark@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Mike Reed <reed@google.com>
bench/PathBench.cpp
src/core/SkPath.cpp
src/core/SkPathPriv.h
tests/PathTest.cpp