Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
skcanvas_star |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file skcanvas_star.cpp.
4 {
11 for (
int i = 1;
i < 7; ++
i) {
13 path.lineTo(
R * cos(theta),
R * sin(theta));
14 }
21}
22}
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void clear(SkColor color)
void drawPath(const SkPath &path, const SkPaint &paint)
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