diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-16 17:04:43 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-16 17:04:43 +0000 |
commit | 0a6465949ee010571ba724cdbf0c343f2d0d2ced (patch) | |
tree | a360593f4b28b3c17fa1dfa536bdf49802d5342e /gm | |
parent | d638233cbee849f566036e4974f5924d4048d821 (diff) |
fix new gm to actually trigger the bug
git-svn-id: http://skia.googlecode.com/svn/trunk@8699 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/bitmaprecttest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/bitmaprecttest.cpp b/gm/bitmaprecttest.cpp index 701aadc066..5f7ff08973 100644 --- a/gm/bitmaprecttest.cpp +++ b/gm/bitmaprecttest.cpp @@ -16,7 +16,7 @@ static void make_bm(SkBitmap* bm) { SkCanvas canvas(*bm); SkPaint paint; paint.setStyle(SkPaint::kStroke_Style); - canvas.drawRect(SkRect::MakeLTRB(0.5f, 0.5f, 29.5f, 29.5f), paint); + canvas.drawRect(SkRect::MakeLTRB(0.5f, 0.5f, 59.5f, 59.5f), paint); } // This creates a close, but imperfect concatenation of @@ -33,7 +33,7 @@ static void test_bitmaprect(SkCanvas* canvas) { canvas->drawBitmap(bm, 150, 45, NULL); - SkScalar scale = 0.452560018f; + SkScalar scale = 0.472560018f; canvas->scale(scale, scale); canvas->drawBitmapRectToRect(bm, NULL, SkRect::MakeXYWH(100, 100, 128, 128), NULL); } |