projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abcfab4
)
make strokes3 full size
author
caryclark
<caryclark@google.com>
Mon, 23 Feb 2015 14:51:04 +0000
(06:51 -0800)
committer
Commit 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
patch
|
blob
|
history
diff --git
a/gm/strokes.cpp
b/gm/strokes.cpp
index
1039769
..
af01b91
100644
(file)
--- 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(
2
0));
+ canvas->translate(SkIntToScalar(20), SkIntToScalar(
8
0));
SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50));
SkScalar dx = bounds.width() * 4/3;