20 paint.setAntiAlias(
true);
21 paint.setStrokeWidth(0.25f);
24 static constexpr SkScalar kDash[2] = {10.f, 10.f};
28 canvas->concat(viewBox);
constexpr SkColor SK_ColorBLACK
static sk_sp< SkPathEffect > Make(const SkScalar intervals[], int count, SkScalar phase)
static SkMatrix RectToRect(const SkRect &src, const SkRect &dst, ScaleToFit mode=kFill_ScaleToFit)
@ kStroke_Style
set to stroke geometry
static SkPath Line(const SkPoint a, const SkPoint b)
DEF_SIMPLE_GM(crbug_1113794, canvas, 600, 200)
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 SkRect MakeWH(float w, float h)