Definition at line 235 of file SkDashPath.cpp.
◆ addSegment()
Definition at line 280 of file SkDashPath.cpp.
280 {
282
283 if (d1 > fPathLength) {
284 d1 = fPathLength;
285 }
286
291
293 pts[0].
set(x0 + fNormal.
fX, y0 + fNormal.
fY);
294 pts[1].
set(x1 + fNormal.
fX, y1 + fNormal.
fY);
295 pts[2].
set(x1 - fNormal.
fX, y1 - fNormal.
fY);
296 pts[3].
set(x0 - fNormal.
fX, y0 - fNormal.
fY);
297
299 }
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
void set(float x, float y)
◆ init()
Definition at line 237 of file SkDashPath.cpp.
238 {
240 return false;
241 }
242
243
245 return false;
246 }
247
249
250 fTangent = fPts[1] - fPts[0];
252 return false;
253 }
254
255 fPathLength = pathLength;
258 return false;
259 }
262
263
264
265
266
267 SkScalar ptCount = pathLength * intervalCount / (
float)intervalLength;
270 return false;
271 }
274
275
277 return true;
278 }
static constexpr bool SkIsNaN(T x)
static bool SkIsFinite(T x, Pack... values)
static constexpr float sk_ieee_float_divide(float numer, float denom)
#define SkScalarCeilToInt(x)
@ kButt_Cap
no stroke extension
static void RotateCCW(const SkPoint &src, SkPoint *dst)
bool isHairlineStyle() const
SkScalar getWidth() const
SkPaint::Cap getCap() const
static float min(float r, float g, float b)
const SkScalar kMaxDashCount
static float Distance(const SkPoint &a, const SkPoint &b)
void scale(float scale, SkPoint *dst) const
The documentation for this class was generated from the following file: