78 {
79
84
86
90
92 canvas->
scale(2.f, 2.f);
93
97 };
98
99
101
103 path.moveTo(0, 40).cubicTo(10, 70, 20, 10, 30, 40);
104
106 int i = 0;
107 for (size_t tm0 = 0; tm0 < std::size(kTileModes); ++tm0) {
108 for (size_t tm1 = 0; tm1 < std::size(kTileModes); ++tm1) {
113
117 sampling, localM));
118
120 canvas->
drawPath(path, outlinePaint);
122 ++i;
123 if (!(i % 2)) {
127 }
128 }
129 }
131 }
sk_sp< SkImage > asImage() const
sk_sp< SkShader > makeShader(SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
SkMatrix & postRotate(SkScalar degrees, SkScalar px, SkScalar py)
SkMatrix & postScale(SkScalar sx, SkScalar sy, SkScalar px, SkScalar py)
SkMatrix & setTranslate(SkScalar dx, SkScalar dy)
void setStyle(Style style)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
void setShader(sk_sp< SkShader > shader)
void setStrokeWidth(SkScalar width)
SkSamplingOptions sampling
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