#include <Sk1DPathEffect.h>
Definition at line 18 of file Sk1DPathEffect.h.
◆ Style
Enumerator |
---|
kTranslate_Style | |
kRotate_Style | |
kMorph_Style | |
kLastEnum_Style | |
Definition at line 20 of file Sk1DPathEffect.h.
◆ Make()
Dash by replicating the specified path.
- Parameters
-
path | The path to replicate (dash) |
advance | The space between instances of path |
phase | distance (mod advance) along path for its initial position |
style | how to transform path at each point (based on the current position and tangent) |
Definition at line 250 of file Sk1DPathEffect.cpp.
251 {
252 if (advance <= 0 || !
SkIsFinite(advance, phase) ||
path.isEmpty()) {
253 return nullptr;
254 }
256}
static bool SkIsFinite(T x, Pack... values)
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
◆ RegisterFlattenables()
void SkPath1DPathEffect::RegisterFlattenables |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: