commit | 4266ee30c85c7dabc0a71818e39c7d52c1e49190 | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Apr 03 16:51:30 2014 |
committer | fs@opera.com <fs@opera.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | Thu Apr 03 16:51:30 2014 |
tree | 7fe13a2f1665aae1211413ceae3d9cf1dbd08bfb | |
parent | f0e20e01156febebb4438f045dc8df6a8b9f4dde [diff] |
Improve computation of ctmScale{X,Y} in NativeImageSkia::drawPattern Simply using "scale x" and "scale y" will not give the intended results for for instance mirroring transformations. Instead compute the length of the column vectors for the 2x2 submatrix. BUG=160443 Review URL: https://codereview.chromium.org/223673003 git-svn-id: svn://svn.chromium.org/blink/trunk@170782 bbb929c8-8fbe-4397-9dbb-9b2b20218538