27 SkPoint c1 = { l + 3 *
w / 5, t +
h / 2 };
43 canvas->
clear(0xFFDDDDDD);
51 static const int DELTA_SCALE = 500;
60 txt.appendf(
"gap at \"tangent\" pt = %f",
delta);
62 l +
w / 2 +
w * DELTA_SCALE *
delta,
static void draw_gradient2(SkCanvas *canvas, const SkRect &rect, SkScalar delta)
constexpr SkColor SK_ColorMAGENTA
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorGREEN
#define SkScalarMod(x, y)
#define SkDoubleToScalar(x)
#define SkScalarFloorToInt(x)
void draw(SkCanvas *canvas) override
bool animate(double nanos) override
DegenerateTwoPtRadialsSlide()
void drawRect(const SkRect &rect, const SkPaint &paint)
void clear(SkColor color)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
static sk_sp< SkShader > MakeTwoPointConical(const SkPoint &start, SkScalar startRadius, const SkPoint &end, SkScalar endRadius, const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
sk_sp< SkBlender > blender SkRect rect
PODArray< SkColor > colors
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)