10 path->setFillType(fill_type);
33 path->cubicTo(x1, y1, x2, y2, x3, y3);
45 Op(*one, *
two, op, one);
49 return static_cast<int>(
path->getFillType());
53 int point_count =
path->countPoints();
54 int verb_count =
path->countVerbs();
57 data->points =
new float[point_count * 2];
58 data->point_count = point_count * 2;
59 data->verbs =
new uint8_t[verb_count];
60 data->verb_count = verb_count;
62 path->getVerbs(
data->verbs, verb_count);
68 delete[]
data->points;
void Op(SkPath *one, SkPath *two, SkPathOp op)
void MoveTo(SkPath *path, SkScalar x, SkScalar y)
void LineTo(SkPath *path, SkScalar x, SkScalar y)
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
void CubicTo(SkPath *path, SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3)
void DestroyData(PathData *data)
void DestroyPath(SkPath *path)
int GetFillType(SkPath *path)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
SkPath * CreatePath(SkPathFillType fill_type)
struct PathData * Data(SkPath *path)