9d9312b308
Change-Id: I606eb7dfbce04147bfc6e287bb2c75051a44a076 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/264692 Commit-Queue: Joe Gregorio <jcgregorio@google.com> Reviewed-by: Joe Gregorio <jcgregorio@google.com>
16 lines
508 B
C++
16 lines
508 B
C++
// Copyright 2020 Google LLC.
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
#include "tools/fiddle/examples.h"
|
|
REG_FIDDLE_SRGB(bug7573_1, 260, 260, false, 5, 0, false) {
|
|
void draw(SkCanvas* canvas) {
|
|
SkPaint p;
|
|
p.setAntiAlias(true);
|
|
SkPath path;
|
|
path.moveTo(1.98009784, 9.0162744);
|
|
path.lineTo(47.843992, 10.1922744);
|
|
path.lineTo(47.804008, 11.7597256);
|
|
path.lineTo(1.93990216, 10.5837256);
|
|
canvas->drawPath(path, p);
|
|
}
|
|
} // END FIDDLE
|