Go to the source code of this file.
|
| REG_FIDDLE (RRect_setRectRadii, 256, 128, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
RRect_setRectRadii |
, |
|
|
256 |
, |
|
|
128 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file RRect_setRectRadii.cpp.
5 {
8 paint.setStrokeWidth(15);
10 paint.setAntiAlias(
true);
11 float intervals[] = { 5, 21.75f };
16 SkVector corners[] = {{15, 17}, {17, 19}, {19, 15}, {15, 15}};
24}
25}
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
@ kStroke_Style
set to stroke geometry
void setRectRadii(const SkRect &rect, const SkVector radii[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