Flutter Engine
The Flutter Engine
crbug_663246.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(crbug_663246, 384, 256, false, 0) {
5void draw(SkCanvas* canvas) {
7 p.setAntiAlias(true);
9 canvas->scale(0.5, 0.5);
10
11 p.setStrokeWidth(195.23635741822847);
13 path.moveTo(488, 182.10368918639688);
14 path.cubicTo(572, 182.10368918639688, 572, 97.61817870911423, 655, 97.61817870911423);
15 p.setColor(SK_ColorGREEN);
16 canvas->drawPath(path, p);
17
18 p.setStrokeWidth(504.6189756548017);
19 path.reset();
20 path.moveTo(20, 252.30948782740091);
21 path.cubicTo(31, 252.30948782740091, 31, 278.79312771879796, 41, 278.79312771879796);
22 p.setColor(SK_ColorRED);
23 canvas->drawPath(path, p);
24}
25} // END FIDDLE
constexpr SkColor SK_ColorRED
Definition: SkColor.h:126
constexpr SkColor SK_ColorGREEN
Definition: SkColor.h:131
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition: aaclip.cpp:27
void drawPath(const SkPath &path, const SkPaint &paint)
Definition: SkCanvas.cpp:1747
void scale(SkScalar sx, SkScalar sy)
Definition: SkCanvas.cpp:1289
@ kStroke_Style
set to stroke geometry
Definition: SkPaint.h:194
Definition: SkPath.h:59
REG_FIDDLE(crbug_663246, 384, 256, false, 0)
Definition: crbug_663246.cpp:4
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
Definition: switches.h:57