Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
crbug_663246.cpp File Reference
#include "tools/fiddle/examples.h"

Go to the source code of this file.

Functions

 REG_FIDDLE (crbug_663246, 384, 256, false, 0)
 

Function Documentation

◆ REG_FIDDLE()

REG_FIDDLE ( crbug_663246  ,
384  ,
256  ,
false  ,
 
)

Definition at line 4 of file crbug_663246.cpp.

4 {
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)
void scale(SkScalar sx, SkScalar sy)
@ kStroke_Style
set to stroke geometry
Definition SkPaint.h:194
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