diff options
author | 2013-12-12 14:55:45 +0000 | |
---|---|---|
committer | 2013-12-12 14:55:45 +0000 | |
commit | 2cce3df19adc4bbda837d30f7f533938f579b478 (patch) | |
tree | ab0ad1ca2bb0032d6acb891222460d14a7fb9e42 /src/core/SkMath.cpp | |
parent | 388695146469f09942e21a2d03d8ca0428f9489c (diff) |
The default size of mask canvas is not appropriate. its height is too small: 150, while its width is 300. As a result, for non-alphaMask canvas who doesn't update the mask canvas size, this tool just magnify the upper part of 'Expected Image' as well as 'Actual Image' when user open view.html to show skpdiff_output.json in browser for many cases. The other part can't be shown because it is out of the mask canvas. This CL update non-alphaMask canvas size according to baseline canvas for each case, then the tool can magnify anywhere you want for the whole image when you click and move mouse on the mask canvas.
R=djsollen@google.com
Author: yunchao.he@intel.com
Review URL: https://codereview.chromium.org/105823010
git-svn-id: http://skia.googlecode.com/svn/trunk@12638 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkMath.cpp')
0 files changed, 0 insertions, 0 deletions