make strokes3 full size
authorcaryclark <caryclark@google.com>
Mon, 23 Feb 2015 14:51:04 +0000 (06:51 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 23 Feb 2015 14:51:04 +0000 (06:51 -0800)
The strokes3 test was limted to 400x800. Allow the captured gm to
go to 1500x1500, and shift it down slightly so it isn't clipped.

Review URL: https://codereview.chromium.org/945363004

gm/strokes.cpp

index 1039769..af01b91 100644 (file)
@@ -196,7 +196,7 @@ protected:
     }
 
     SkISize onISize() SK_OVERRIDE {
-        return SkISize::Make(W, H*2);
+        return SkISize::Make(1500, 1500);
     }
 
     void onDraw(SkCanvas* canvas) SK_OVERRIDE {
@@ -212,7 +212,7 @@ protected:
             make0, make1, make2, make3, make4, make5
         };
 
-        canvas->translate(SkIntToScalar(20), SkIntToScalar(20));
+        canvas->translate(SkIntToScalar(20), SkIntToScalar(80));
 
         SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50));
         SkScalar dx = bounds.width() * 4/3;