diff options
author | caryclark <caryclark@google.com> | 2015-02-23 06:51:04 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-23 06:51:04 -0800 |
commit | 3760457182f008b48e721afd22e847fd94564af8 (patch) | |
tree | 126ffa3792b8a8bd8c6cc25fc4c51ffc728c10fd /gm | |
parent | abcfab4d68d53900ef33320bb2622696c14d14b0 (diff) |
make strokes3 full size
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
Diffstat (limited to 'gm')
-rw-r--r-- | gm/strokes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/strokes.cpp b/gm/strokes.cpp index 1039769e0b..af01b9169e 100644 --- a/gm/strokes.cpp +++ b/gm/strokes.cpp @@ -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; |