Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
bug7573_1.cpp
Go to the documentation of this file.
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.
4REG_FIDDLE_SRGB(bug7573_1, 260, 260, false, 5, 0, false) {
5void draw(SkCanvas* canvas) {
6 SkPaint p;
7 p.setAntiAlias(true);
8 SkPath path;
9path.moveTo(1.98009784, 9.0162744);
10path.lineTo(47.843992, 10.1922744);
11path.lineTo(47.804008, 11.7597256);
12path.lineTo(1.93990216, 10.5837256);
13 canvas->drawPath(path, p);
14}
15} // END FIDDLE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition aaclip.cpp:27
void drawPath(const SkPath &path, const SkPaint &paint)
#define REG_FIDDLE_SRGB(NAME, W, H, T, I, DURATION, F16)
Definition examples.h:52