Definition at line 430 of file MotionMarkSlide.cpp.
◆ CanvasLinePoint()
Definition at line 458 of file MotionMarkSlide.cpp.
458 {
460 0xff101010, 0xff808080, 0xffc0c0c0, 0xff101010, 0xff808080, 0xffc0c0c0, 0xffe01040
461 };
463
464 fWidth = std::pow(random->
nextF(), 5) * 20 + 1;
466
468 }
static float prev(float f)
void setEndPoint(SkRandom *random, SkSize size, SkPoint *prevCoord)
uint32_t nextRangeU(uint32_t min, uint32_t max)
◆ ~CanvasLinePoint()
CanvasLinePoint::~CanvasLinePoint |
( |
| ) |
|
|
overridedefault |
◆ animate()
void CanvasLinePoint::animate |
( |
double |
| ) |
|
|
inlineoverridevirtual |
◆ append()
virtual void CanvasLinePoint::append |
( |
SkPath * |
path | ) |
|
|
inlinevirtual |
Reimplemented in CanvasQuadraticSegment, and CanvasBezierSegment.
Definition at line 472 of file MotionMarkSlide.cpp.
472 {
473 path->lineTo(fPoint);
474 }
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
◆ draw()
void CanvasLinePoint::draw |
( |
SkCanvas * |
| ) |
|
|
inlineoverridevirtual |
◆ getColor()
SkColor CanvasLinePoint::getColor |
( |
| ) |
|
|
inline |
◆ getCoord()
SkPoint CanvasLinePoint::getCoord |
( |
| ) |
|
|
inline |
◆ getPoint()
SkPoint CanvasLinePoint::getPoint |
( |
| ) |
|
|
inline |
◆ getWidth()
float CanvasLinePoint::getWidth |
( |
| ) |
|
|
inline |
◆ isSplit()
bool CanvasLinePoint::isSplit |
( |
| ) |
|
|
inline |
◆ setEndPoint()
Definition at line 432 of file MotionMarkSlide.cpp.
432 {
433 const SkSize kGridSize = { 80, 40 };
434 const SkPoint kGridCenter = { 40, 20 };
436 {-4, 0},
437 {2, 0},
438 {1, -2},
439 {1, 2}
440 };
441
442 SkPoint coordinate = prevCoord ? *prevCoord : kGridCenter;
443 if (prevCoord) {
446 if (coordinate.
fX < 0 || coordinate.
fX > kGridSize.
width())
448 if (coordinate.
fY < 0 || coordinate.
fY > kGridSize.
height())
450 }
451
453 (coordinate.
fY + 0.5f) *
size.height() / (kGridSize.
height() + 1));
454 fCoordinate = coordinate;
455 }
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 SkPoint Make(float x, float y)
◆ toggleIsSplit()
void CanvasLinePoint::toggleIsSplit |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: