Go to the source code of this file.
◆ STROKE_WIDTH
◆ DEF_SIMPLE_GM()
DEF_SIMPLE_GM |
( |
strokerect_anisotropic_5408 |
, |
|
|
canvas |
, |
|
|
200 |
, |
|
|
50 |
|
|
) |
| |
Definition at line 130 of file strokerect.cpp.
130 {
134
135 canvas->scale(10, 1);
137 canvas->drawRect(r,
p);
138}
@ kStroke_Style
set to stroke geometry
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
◆ draw_path()
Definition at line 28 of file strokerect.cpp.
29 {
31 paint.setAntiAlias(
true);
33
38
40 paint.setStrokeWidth(0);
43
44 paint.setStrokeWidth(3);
46 int n =
path.countPoints();
50}
static const int points[]
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorRED
void drawRect(const SkRect &rect, const SkPaint &paint)
void drawPoints(PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kPoints_PointMode
draw each point separately
@ kStrokeAndFill_Style
sets to stroke and fill geometry
@ kMiter_Join
extends to miter limit
sk_sp< SkBlender > blender SkRect rect
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
static SkString join(const CommandLineFlags::StringArray &)