blob: 54e5ac279e81610535efd74a64654a8331276cf4 [file] [log] [blame]
Hal Canary83c2f702019-03-07 14:53:03 -05001// Copyright 2019 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3#include "fiddle/examples.h"
4// HASH=02e33141f13da2f19aef7feb7117b541
5REG_FIDDLE(Canvas_079, 256, 256, false, 0) {
6void draw(SkCanvas* canvas) {
7 SkRRect outer = SkRRect::MakeRect({20, 40, 210, 200});
8 SkRRect inner = SkRRect::MakeOval({60, 70, 170, 160});
9 SkPaint paint;
10 canvas->drawDRRect(outer, inner, paint);
11}
12} // END FIDDLE