Home
last modified time | relevance | path

Searched refs:M44 (Results 1 – 12 of 12) sorted by relevance

/external/skia/modules/canvaskit/tests/
Dmatrix.spec.js107 CanvasKit.M44.translated([5, 6, 7]),
116 CanvasKit.M44.scaled([5, 6, 7]),
125 CanvasKit.M44.rotated([1,1,1], Math.PI),
137 CanvasKit.M44.lookat(eye, center, up),
146 CanvasKit.M44.perspective(2, 10, Math.PI/2),
173 CanvasKit.M44.multiply(a, b),
184 const b = CanvasKit.M44.invert(a)
186 CanvasKit.M44.multiply(a, b),
187 CanvasKit.M44.identity());
200 const mat = CanvasKit.M44.setupCamera(CanvasKit.LTRBRect(0, 0, 200, 200), 200, cam);
Dcanvas.spec.js823 canvas.concat(CanvasKit.M44.rotated([0, 1, 0], Math.PI/4));
824 canvas.concat(CanvasKit.M44.rotated([1, 0, 1], Math.PI/8));
827 const expected = CanvasKit.M44.multiply(
828 CanvasKit.M44.rotated([0, 1, 0], Math.PI/4),
829 CanvasKit.M44.rotated([1, 0, 1], Math.PI/8),
844 expect(matr).toEqual(CanvasKit.M44.identity());
846 canvas.concat(CanvasKit.M44.rotated([0, 1, 0], Math.PI/4));
847 canvas.concat(CanvasKit.M44.rotated([1, 0, 1], Math.PI/8));
849 const expected = CanvasKit.M44.multiply(
850 CanvasKit.M44.rotated([0, 1, 0], Math.PI/4),
[all …]
Dcore.spec.js1007 bounds = CanvasKit.getShadowLocalBounds(CanvasKit.M44.identity(),
/external/skia/modules/canvaskit/
Dmatrix.js228 CanvasKit.M44 = {};
230 CanvasKit.M44.identity = function() {
236 CanvasKit.M44.translated = function(vec) {
240 CanvasKit.M44.scaled = function(vec) {
245 CanvasKit.M44.rotated = function(axisVec, radians) {
246 return CanvasKit.M44.rotatedUnitSinCos(
255 CanvasKit.M44.rotatedUnitSinCos = function(axisVec, sinAngle, cosAngle) {
270 CanvasKit.M44.lookat = function(eyeVec, centerVec, upVec) {
275 var m = CanvasKit.M44.identity();
282 var m2 = CanvasKit.M44.invert(m);
[all …]
Dexterns.js418 M44: { property
/external/skia/site/docs/user/modules/
Dcanvaskit.md537 let clickToWorld = CanvasKit.M44.identity();
538 let worldToClick = CanvasKit.M44.identity();
540 let rotation = CanvasKit.M44.identity();
542 let clickRotation = CanvasKit.M44.identity();
637 return CanvasKit.M44.multiply(
638 CanvasKit.M44.rotated([0,1,0], ry),
639 CanvasKit.M44.rotated([1,0,0], rx),
640 CanvasKit.M44.translated([0, 0, scale]));
660 var m2 = CanvasKit.M44.invert(m);
662 m2 = CanvasKit.M44.identity();
[all …]
/external/skia/tools/perf-canvaskit-puppeteer/
Dcanvas_perf.js468 ctx.first = CanvasKit.M44.rotated([10, 20, 30], Math.PI/2);
469 ctx.second = CanvasKit.M44.scaled([1, 2, 3]);
472 ctx.result = CanvasKit.M44.multiply(ctx.first, ctx.second);
484 ctx.matr = CanvasKit.M44.multiply(
485 CanvasKit.M44.rotated([10, 20, 30], Math.PI/2),
486 CanvasKit.M44.scaled([1, 2, 3]),
490 const result = CanvasKit.M44.invert(ctx.matr);
503 ctx.matr = CanvasKit.M44.multiply(
504 CanvasKit.M44.rotated([10, 20, 30], Math.PI/2),
505 CanvasKit.M44.scaled([1, 2, 3]),
/external/elfutils/backends/
Dsparc_reloc.def82 RELOC_TYPE (M44, REL)
/external/skia/tests/
DM44Test.cpp25 DEF_TEST(M44, reporter) { in DEF_TEST() argument
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts307 const filter8 = imgf.MakeMatrixTransform(CK.M44.identity(),
626 const m44 = CK.M44;
Dindex.d.ts427 readonly M44: Matrix4x4Helpers; property
/external/one-true-awk/testdir/
Dfunstack.in2289 …rting study was part of an extensive measurement project undertaken on the M44\slash 44X, an exper…