2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
11 // this draws a small arc scaled up
12 // see https://code.google.com/p/chromium/issues/detail?id=102411
13 // and https://code.google.com/p/skia/issues/detail?id=2769
14 DEF_SIMPLE_GM(smallarc, canvas, 762, 762) {
16 p.setColor(SK_ColorRED);
18 p.setStyle(SkPaint::kStroke_Style);
19 p.setStrokeWidth(120);
23 path.cubicTo(33.5, 0, 0, 33.5, 0, 75);
25 canvas->translate(-400, -400);
27 canvas->drawPath(path, p);