Home
last modified time | relevance | path

Searched refs:PathOp (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/modules/pathkit/perf/
Dpathops.bench.js43 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.DIFFERENCE);
67 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.INTERSECT);
91 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.UNION);
115 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.XOR);
139 let path = PathKit.MakeFromOp(ctx.path1, ctx.path2, PathKit.PathOp.REVERSE_DIFFERENCE);
/third_party/skia/modules/pathkit/tests/
Dpathops.spec.js81 'kIntersect_SkPathOp': PathKit.PathOp.INTERSECT,
82 'kDifference_SkPathOp': PathKit.PathOp.DIFFERENCE,
83 'kUnion_SkPathOp': PathKit.PathOp.UNION,
84 'kXOR_SkPathOp': PathKit.PathOp.XOR,
85 'kXOR_PathOp': PathKit.PathOp.XOR,
86 'kReverseDifference_SkPathOp': PathKit.PathOp.REVERSE_DIFFERENCE,
/third_party/skia/site/docs/user/modules/
Dpathkit.md115 .op(orig, PathKit.PathOp.DIFFERENCE);
125 .op(simplified, PathKit.PathOp.REVERSE_DIFFERENCE);
251 example, `path1.op(path2, PathKit.PathOp.INTERSECT)` will set path1 to be the
253 `PathKit.MakeFromOp(path1, path2, PathKit.PathOp.INTERSECT)` will do the same
331 **op** - `PathOp`, an op to apply
333 Returns a new `SkPath` that is the result of applying the given PathOp to the
340 let mountains = PathKit.MakeFromOp(pathOne, pathTwo, PathKit.PathOp.UNION);
342 // Users can also do pathOne.op(pathTwo, PathKit.PathOp.UNION);
604 **operation** - `PathOp`, The operation to apply to the two paths.
614 let mountains = pathOne.copy().op(pathOne, pathTwo, PathKit.PathOp.UNION);
[all …]
/third_party/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts440 readonly PathOp: PathOpEnumValues; property
2348 op(other: Path, op: PathOp): boolean;
3286 MakeFromOp(one: Path, two: Path, op: PathOp): Path | null;
3811 export type PathOp = EmbindEnumEntity; alias
4005 Difference: PathOp;
4006 Intersect: PathOp;
4007 Union: PathOp;
4008 XOR: PathOp;
4009 ReverseDifference: PathOp;
Dcanvaskit-wasm-tests.ts430 const p5 = CK.Path.MakeFromOp(p4, p2!, CK.PathOp.ReverseDifference); // $ExpectType Path | null
474 ok = path.op(p2!, CK.PathOp.Difference);
/third_party/skia/modules/canvaskit/
Dexterns.js912 PathOp: { property
/third_party/skia/modules/canvaskit/tests/
Dpath.spec.js92 const path = CanvasKit.Path.MakeFromOp(pathOne, pathTwo, CanvasKit.PathOp.Intersect);