Home
last modified time | relevance | path

Searched refs:pathTwo (Results 1 – 10 of 10) sorted by relevance

/external/skqp/modules/pathkit/
Dpathkit_wasm_bindings.cpp250 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
251 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
254 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() argument
256 if (Op(pathOne, pathTwo, op, &out)) { in MakeFromOp()
/external/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp250 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
251 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
254 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakeFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp… in MakeFromOp() argument
256 if (Op(pathOne, pathTwo, op, &out)) { in MakeFromOp()
/external/skia/tests/
DPathOpsExtendedTest.h63 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
/external/skqp/tests/
DPathOpsExtendedTest.h63 void ShowOp(SkPathOp op, const char* pathOne, const char* pathTwo);
/external/skia/site/user/modules/
Dpathkit.md312 #### `MakeFromOp(pathOne, pathTwo, op)` ####
314 **pathTwo** - `SkPath`, a path. <br>
323 let pathTwo = PathKit.NewPath().moveTo(10, 20).lineTo(20, 10).lineTo(30, 20).close();
324 let mountains = PathKit.MakeFromOp(pathOne, pathTwo, PathKit.PathOp.UNION);
326 // Users can also do pathOne.op(pathTwo, PathKit.PathOp.UNION);
569 let pathTwo = PathKit.NewPath().moveTo(10, 20).lineTo(20, 10).lineTo(30, 20).close();
571 let mountains = pathOne.copy().op(pathOne, pathTwo, PathKit.PathOp.UNION);
572 // set pathOne to be the small triangle where pathOne and pathTwo overlap
573 pathOne.op(pathOne, pathTwo, PathKit.PathOp.INTERSECT);
/external/skqp/site/user/modules/
Dpathkit.md313 #### `MakeFromOp(pathOne, pathTwo, op)` ####
315 **pathTwo** - `SkPath`, a path. <br>
324 let pathTwo = PathKit.NewPath().moveTo(10, 20).lineTo(20, 10).lineTo(30, 20).close();
325 let mountains = PathKit.MakeFromOp(pathOne, pathTwo, PathKit.PathOp.UNION);
327 // Users can also do pathOne.op(pathTwo, PathKit.PathOp.UNION);
570 let pathTwo = PathKit.NewPath().moveTo(10, 20).lineTo(20, 10).lineTo(30, 20).close();
572 let mountains = pathOne.copy().op(pathOne, pathTwo, PathKit.PathOp.UNION);
573 // set pathOne to be the small triangle where pathOne and pathTwo overlap
574 pathOne.op(pathOne, pathTwo, PathKit.PathOp.INTERSECT);
/external/skqp/experimental/canvaskit/
Dcanvaskit_bindings.cpp242 bool EMSCRIPTEN_KEEPALIVE ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
243 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
260 SkPathOrNull EMSCRIPTEN_KEEPALIVE MakePathFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPa… in MakePathFromOp() argument
262 if (Op(pathOne, pathTwo, op, &out)) { in MakePathFromOp()
/external/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp329 bool ApplyPathOp(SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in ApplyPathOp() argument
330 return Op(pathOne, pathTwo, op, &pathOne); in ApplyPathOp()
333 SkPathOrNull MakePathFromOp(const SkPath& pathOne, const SkPath& pathTwo, SkPathOp op) { in MakePathFromOp() argument
335 if (Op(pathOne, pathTwo, op, &out)) { in MakePathFromOp()
/external/skia/src/pathops/
DSkPathOpsDebug.cpp555 static void show_op(SkPathOp op, const char* pathOne, const char* pathTwo) { in show_op() argument
556 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op()
/external/skqp/src/pathops/
DSkPathOpsDebug.cpp555 static void show_op(SkPathOp op, const char* pathOne, const char* pathTwo) { in show_op() argument
556 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op()