Home
last modified time | relevance | path

Searched refs:addPath (Results 1 – 25 of 66) sorted by relevance

123

/third_party/skia/modules/pathkit/tests/
Dpath2d.spec.js34 path.addPath(secondPath);
41 path.addPath(secondPath, m);
133 basePath.addPath(otherPath)
135 .addPath(otherPath, 1, 0, 0, 1, 0, 20.5)
138 .addPath(otherPath, 3, 0, 30,
/third_party/node/deps/npm/node_modules/diff/lib/diff/
Dbase.js80 var addPath = bestPath[diagonalPath - 1],
84 if (addPath) {
89 var canAdd = addPath && addPath.newPos + 1 < newLen,
101 if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
105 basePath = addPath; // No need to clone, we've pulled it from the list
/third_party/skia/gm/
Dpatharcto.cpp103 path.addPath(path1, SkPath::kAppend_AddPathMode);
110 path.addPath(path1, perspective, SkPath::kAppend_AddPathMode);
117 path.addPath(path1, SkPath::kExtend_AddPathMode);
124 path.addPath(path1, perspective, SkPath::kExtend_AddPathMode);
/third_party/skia/modules/pathkit/perf/
Dpath.bench.js31 path.addPath(secondPath);
38 path.addPath(secondPath, m);
230 path.addPath(ctx.path, m);
258 path.addPath(ctx.path, m);
280 path.addPath(ctx.path, 1, 0, 0, 1, 0, 20.5);
/third_party/skia/src/core/
DHMSymbol.cpp70 path.addPath(paths[i]); in MultilayerPath()
79 path.addPath(paths[multMap[i][j]]); in MultilayerPath()
/third_party/skia/tests/
DPathOpsBuilderTest.cpp225 clipRect.addPath(inner); in DEF_TEST()
237 clipRect.addPath(inner); in DEF_TEST()
249 clipRect.addPath(inner); in DEF_TEST()
265 clipRect.addPath(inner); in DEF_TEST()
DPathOpsAsWindingTest.cpp167 test.addPath(build_squircle(curveB, rectB, dirB)); in DEF_TEST()
169 test.addPath(pathA); in DEF_TEST()
/third_party/skia/src/pathops/
DSkPathWriter.cpp29 fPathPtr->addPath(fCurrent); in close()
257 partial.addPath(part, SkPath::kExtend_AddPathMode); in assemble()
261 reverse.addPath(partial, SkPath::kExtend_AddPathMode); in assemble()
370 fPathPtr->addPath(contour, in assemble()
/third_party/skia/site/docs/user/modules/
Dpathkit.md377 #### `addPath(otherPath)`
383 #### `addPath(otherPath, transform)`
391 [Path2D.addPath()](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)
394 #### `addPath(otherPath, a, b, c, d, e, f)`
403 [Path2D.addPath()](https://developer.mozilla.org/en-US/docs/Web/API/Path2D/addPath)
411 moreBoxes.addPath(box)
417 .addPath(box, 1, 0, 0, 1, 300, 0)
419 .addPath(box, 0.5, 0, 0, 0.5, 0, 0);
422 #### `addPath(otherPath, scaleX, skewX, transX, skewY, scaleY, transY, pers0, pers1, pers2)`
438 moreBoxes.addPath(box)
[all …]
/third_party/skia/docs/examples/
DPath_addPath_2.cpp12 dest.addPath(path, SkPath::kExtend_AddPathMode); in draw()
DPaint_getTextPath.cpp14 path.addPath(path2);
DPath_addPath_3.cpp15 dest.addPath(path, matrix); in draw()
DPath_addPath.cpp14 dest.addPath(text, i * 20, i * 20);
DPath_AddPathMode.cpp19 test.addPath(path2, addPathMode); in draw()
DPath_IsQuadDegenerate.cpp17 offset.addPath(path, 1000, 1000); in draw()
/third_party/skia/fuzz/
DFuzzCommon.cpp173 path->addPath(p, m, mode); in FuzzNicePath()
180 path->addPath(*path, m, mode); in FuzzNicePath()
188 path->addPath(*path); in FuzzNicePath()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js159 this.addPath = function(path2d, transform) { method in Path2D
166 this._path.addPath(path2d._getPath(), [transform.a, transform.c, transform.e,
/third_party/skia/src/effects/
DSk1DPathEffect.cpp220 dst->addPath(fPath, pos.fX, pos.fY); in next()
226 dst->addPath(fPath, matrix); in next()
/third_party/skia/include/core/
DSkPath.h1263 SkPath& addPath(const SkPath& src, SkScalar dx, SkScalar dy,
1276 SkPath& addPath(const SkPath& src, AddPathMode mode = kAppend_AddPathMode) {
1279 return this->addPath(src, m, mode);
1294 SkPath& addPath(const SkPath& src, const SkMatrix& matrix,
/third_party/skia/src/utils/
DSkTextUtils.cpp44 rec->fDst->addPath(*src, m); in GetPath()
/third_party/skia/src/gpu/ops/
DAtlasRenderTask.h39 bool addPath(const SkMatrix&, const SkPath&, SkIPoint pathDevTopLeft, int widthInAtlas,
/third_party/skia/modules/sksg/src/
DSkSGMerge.cpp82 fMerged.addPath(path); in onRevalidate()
/third_party/node/deps/npm/node_modules/diff/lib/
Dindex.es6.js60 var addPath = bestPath[diagonalPath - 1],
64 if (addPath) {
69 var canAdd = addPath && addPath.newPos + 1 < newLen,
81 if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
85 basePath = addPath; // No need to clone, we've pulled it from the list
/third_party/node/deps/npm/node_modules/diff/dist/
Ddiff.js103 var addPath = bestPath[diagonalPath - 1],
107 if (addPath) {
112 var canAdd = addPath && addPath.newPos + 1 < newLen,
124 if (!canAdd || canRemove && addPath.newPos < removePath.newPos) {
128 basePath = addPath; // No need to clone, we've pulled it from the list
/third_party/skia/modules/pathkit/
Dpathkit_wasm_bindings.cpp317 path.addPath(temp, SkPath::kExtend_AddPathMode); in ApplyAddArc()
331 path.addPath(temp, m, SkPath::kExtend_AddPathMode); in ApplyEllipse()
342 orig.addPath(newPath, m); in ApplyAddPath()

123