Definition at line 432 of file MotionMarkSlide.cpp.
◆ CanvasLinePoint()
Definition at line 460 of file MotionMarkSlide.cpp.
460 {
462 0xff101010, 0xff808080, 0xffc0c0c0, 0xff101010, 0xff808080, 0xffc0c0c0, 0xffe01040
463 };
465
466 fWidth = std::pow(random->
nextF(), 5) * 20 + 1;
468
470 }
static float prev(float f)
void setEndPoint(SkRandom *random, SkSize size, SkPoint *prevCoord)
uint32_t nextRangeU(uint32_t min, uint32_t max)
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
◆ ~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 474 of file MotionMarkSlide.cpp.
474 {
475 path->lineTo(fPoint);
476 }
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 434 of file MotionMarkSlide.cpp.
434 {
435 const SkSize kGridSize = { 80, 40 };
436 const SkPoint kGridCenter = { 40, 20 };
438 {-4, 0},
439 {2, 0},
440 {1, -2},
441 {1, 2}
442 };
443
444 SkPoint coordinate = prevCoord ? *prevCoord : kGridCenter;
445 if (prevCoord) {
448 if (coordinate.
fX < 0 || coordinate.
fX > kGridSize.
width())
450 if (coordinate.
fY < 0 || coordinate.
fY > kGridSize.
height())
452 }
453
455 (coordinate.
fY + 0.5f) *
size.height() / (kGridSize.
height() + 1));
456 fCoordinate = coordinate;
457 }
static constexpr SkPoint Make(float x, float y)
◆ toggleIsSplit()
void CanvasLinePoint::toggleIsSplit |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: