37 paint.setAntiAlias(
true);
40 paint.setAntiAlias(
true);
82 paths.
back().
conicTo(150.f, 50.f, 100.f, 0.f, 0.6f);
83 paths.
back().
conicTo(148.f, 50.f, 100.f, 100.f, 0.6f);
99 s.setScale(0.5f, 2.f);
100 ty = drawPathSet(
path,
s);
106 ty = drawPathSet(
path, r);
113 options->fAllowPathMaskCaching =
true;
117 using INHERITED =
GM;
void modifyGrContextOptions(GrContextOptions *options) override
SkISize getISize() override
SkString getName() const override
void onDraw(SkCanvas *canvas) override
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
void concat(const SkMatrix &matrix)
SkMatrix & setRotate(SkScalar degrees, SkScalar px, SkScalar py)
static const SkMatrix & I()
SkPath & addCircle(SkScalar x, SkScalar y, SkScalar radius, SkPathDirection dir=SkPathDirection::kCW)
SkPath & moveTo(SkScalar x, SkScalar y)
void setFillType(SkPathFillType ft)
SkPath & lineTo(SkScalar x, SkScalar y)
SkPath & conicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w)
SkPath & addRect(const SkRect &rect, SkPathDirection dir, unsigned start)
GM(SkColor backgroundColor=SK_ColorWHITE)
Optional< SkRect > bounds
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 constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)