aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-13 01:13:38 +0000
committerGravatar mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-13 01:13:38 +0000
commit3e044403e1acaaef7038d8891caa04a5e0c5a21c (patch)
tree291345f775c5383baf07a35b524de8030b21fdf2 /gm
parent3d1cb97240c568253b657b8a1e50258792457166 (diff)
adjust size to match the content
git-svn-id: http://skia.googlecode.com/svn/trunk@5052 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/texteffects.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/texteffects.cpp b/gm/texteffects.cpp
index e61353f697..42efceaeeb 100644
--- a/gm/texteffects.cpp
+++ b/gm/texteffects.cpp
@@ -233,14 +233,13 @@ protected:
}
virtual SkISize onISize() SK_OVERRIDE {
- return SkISize::Make(640, 480);
+ return SkISize::Make(460, 680);
}
virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
canvas->save();
SkPaint paint;
-
paint.setAntiAlias(true);
paint.setTextSize(SkIntToScalar(56));