Scale the result of TightBounds when path was inverse-scaled
authorFredrik Söderquist <fs@opera.com>
Wed, 4 Jan 2017 12:31:47 +0000 (13:31 +0100)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 4 Jan 2017 13:47:24 +0000 (13:47 +0000)
commitb60e8645ecddb1846cdba52073db394a633841ff
treeab6e70cd42f454ce81deff6de3be60b1596fe734
parent67116384368195913ec014972b4fc38de2087fb8
Scale the result of TightBounds when path was inverse-scaled

When the path was "large" (as defined by ScaleFactor(...)), the computed
bounds would not be adjusted to the correct space. Make sure to scale
the result in those cases.

BUG=chromium:678162

Change-Id: Ia2eb94050c4620286e9abb69976dbc0202ecc307
Reviewed-on: https://skia-review.googlesource.com/6501
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Cary Clark <caryclark@google.com>
src/pathops/SkPathOpsTightBounds.cpp
tests/PathOpsTightBoundsTest.cpp