aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gm/shadowutils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/shadowutils.cpp b/gm/shadowutils.cpp
index 9fe1405cf4..96554f10e7 100644
--- a/gm/shadowutils.cpp
+++ b/gm/shadowutils.cpp
@@ -18,7 +18,7 @@ void draw_shadow(SkCanvas* canvas, const SkPath& path, int height, SkColor color
color, flags);
}
-static constexpr int kW = 500;
+static constexpr int kW = 700;
static constexpr int kH = 800;
DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) {
@@ -32,7 +32,7 @@ DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) {
paths.push_back().cubicTo(100, 50, 20, 100, 0, 0);
static constexpr SkScalar kPad = 15.f;
- static constexpr SkPoint3 kLightPos = {kW / 2, kH / 2, 500};
+ static constexpr SkPoint3 kLightPos = {250, 400, 500};
static constexpr SkScalar kLightR = 100.f;
static constexpr SkScalar kHeight = 50.f;
canvas->translate(3 * kPad, 3 * kPad);