Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(45)

Unified Diff: gm/strokes.cpp

Issue 945363004: make strokes3 full size (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/strokes.cpp
diff --git a/gm/strokes.cpp b/gm/strokes.cpp
index 1039769e0b32b6251db476709247455589ca0af7..af01b9169e68655df8abe10131033ca22d1c8caf 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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698