Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Path_ArcSize |
, |
|
|
256 |
, |
|
|
160 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Path_ArcSize.cpp.
4 {
7 paint.setAntiAlias(
true);
12 path.moveTo({120, 50});
13 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100);
16 paint.setStrokeWidth(3);
17 }
19 }
20 }
21}
22}
constexpr SkColor SK_ColorBLUE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
@ kSmall_ArcSize
smaller of arc pair
@ kLarge_ArcSize
larger of arc pair
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