97 paint.setAntiAlias(
true);
101 for (
size_t style = 0; style <
std::size(kStyle); ++style) {
102 for (
size_t cap = 0; cap <
std::size(kCap); ++cap) {
110 paint.setStyle(kStyle[style]);
111 paint.setStrokeCap(kCap[cap]);
139 using INHERITED =
GM;
144DEF_GM(
return new NonClosedPathsGM;)
void translate(SkScalar dx, SkScalar dy)
void drawPath(const SkPath &path, const SkPaint &paint)
@ kButt_Cap
no stroke extension
@ kStroke_Style
set to stroke geometry
@ kFill_Style
set to fill geometry
@ kStrokeAndFill_Style
sets to stroke and fill geometry
static constexpr int kJoinCount
@ kMiter_Join
extends to miter limit
@ kBevel_Join
connects outside edges
GM(SkColor backgroundColor=SK_ColorWHITE)
SkISize getISize() override
SkString getName() const override
static void SetLocation(SkCanvas *canvas, int counter, int lineNum)
static SkPath MakePath(ClosureType type)
void onDraw(SkCanvas *canvas) override
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
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
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr float kStrokeWidth
static SkString join(const CommandLineFlags::StringArray &)
static constexpr SkISize Make(int32_t w, int32_t h)