| 1 |
// Copyright 2020 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 "tools/fiddle/examples.h" |
| 4 |
REG_FIDDLE_SRGB(bug7573_1, 260, 260, false, 5, 0, false) { |
| 5 |
void draw(SkCanvas* canvas) { |
| 6 |
SkPaint p; |
| 7 |
p.setAntiAlias(true); |
| 8 |
SkPathBuilder path; |
| 9 |
path.moveTo(1.98009784, 9.0162744); |
| 10 |
path.lineTo(47.843992, 10.1922744); |
| 11 |
path.lineTo(47.804008, 11.7597256); |
| 12 |
path.lineTo(1.93990216, 10.5837256); |
| 13 |
canvas->drawPath(path.detach(), p); |
| 14 |
} |
| 15 |
} // END FIDDLE |