diff options
Diffstat (limited to 'gm/shadowutils.cpp')
-rw-r--r-- | gm/shadowutils.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/shadowutils.cpp b/gm/shadowutils.cpp index 53d9b78602..350a546f0a 100644 --- a/gm/shadowutils.cpp +++ b/gm/shadowutils.cpp @@ -19,7 +19,7 @@ void draw_shadow(SkCanvas* canvas, const SkPath& path, int height, SkColor color color, flags, cache); } -static constexpr int kW = 800; +static constexpr int kW = 700; static constexpr int kH = 800; DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { @@ -38,7 +38,6 @@ DEF_SIMPLE_GM(shadow_utils, canvas, kW, kH) { paths.push_back().addRect(SkRect::MakeWH(50, 50)); paths.push_back().addCircle(25, 25, 25); paths.push_back().cubicTo(100, 50, 20, 100, 0, 0); - paths.push_back().addOval(SkRect::MakeWH(20, 60)); static constexpr SkScalar kPad = 15.f; static constexpr SkPoint3 kLightPos = {250, 400, 500}; |