34 bool requires_moveto =
true) {
40 size_t contour_count = 1;
43 const auto next_offset = current_segment_offset + measure.getLength();
45 if (
start < next_offset) {
46 measure.getSegment(
start - current_segment_offset,
47 stop - current_segment_offset,
48 dst, requires_moveto);
50 if (stop <= next_offset)
55 current_segment_offset = next_offset;
56 }
while (measure.nextContour());
64 : fStartT(startT), fStopT(stopT),
fMode(
mode) {}
68 if (fStartT >= fStopT) {
80 const auto arcStart =
len * fStartT,
81 arcStop =
len * fStopT;
86 if (arcStart < arcStop) {
87 add_segments(
src, arcStart, arcStop,
dst);
97 bool requires_moveto =
true;
100 const auto contour_count = add_segments(
src, arcStop,
len,
dst);
104 if (contour_count == 1 &&
src.isLastContourClosed()) {
105 requires_moveto =
false;
109 add_segments(
src, 0, arcStart,
dst, requires_moveto);
117 buffer.writeScalar(fStartT);
118 buffer.writeScalar(fStopT);
119 buffer.writeUInt(
static_cast<uint32_t
>(fMode));
124 stop =
buffer.readScalar();
142 startT =
SkTPin(startT, 0.f, 1.f);
143 stopT =
SkTPin(stopT, 0.f, 1.f);
static bool SkIsFinite(T x, Pack... values)
static constexpr const T & SkTPin(const T &x, const T &lo, const T &hi)
bool onFilterPath(SkPath *dst, const SkPath &src, SkStrokeRec *, const SkRect *, const SkMatrix &) const override
void flatten(SkWriteBuffer &) const override
SkTrimPE(SkScalar startT, SkScalar stopT, SkTrimPathEffect::Mode)
static sk_sp< SkPathEffect > Make(SkScalar startT, SkScalar stopT, Mode=Mode::kNormal)
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 to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
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 mode