387 {
393 SkPaint strokePaint(origPaint);
395
397 make0, make1, make2, make3, make4, make5
398 };
399
401
405
410
412 for (int j = 0; j < 13; ++j) {
413 strokePaint.setStrokeWidth(
SK_Scalar1 * j * j);
414 canvas->
drawPath(orig, strokePaint);
419 canvas->
translate(
dx + strokePaint.getStrokeWidth(), 0);
420 }
423 }
424 }
constexpr SkColor SK_ColorRED
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
void setStyle(Style style)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
Optional< SkRect > bounds
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar dx
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
SK_API bool FillPathWithPaint(const SkPath &src, const SkPaint &paint, SkPath *dst, const SkRect *cullRect, SkScalar resScale=1)
static constexpr SkRect MakeWH(float w, float h)