/external/skia/modules/canvaskit/tests/ |
D | canvas.spec.js | 28 canvas.drawOval(CanvasKit.LTRBRect(5, 35, 45, 80), paint); 30 canvas.drawArc(CanvasKit.LTRBRect(55, 35, 95, 80), 15, 270, true, paint); 154 CanvasKit.LTRBRect(10, 10, 50, 50), 5, 10), paint); 157 CanvasKit.LTRBRect(60, 10, 110, 50), 10, 5), paint); 160 CanvasKit.LTRBRect(10, 60, 210, 260), 0, 30), paint); 163 CanvasKit.LTRBRect(50, 90, 160, 210), 30, 30), paint); 234 const outer = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 10, 5); 235 const inner = CanvasKit.RRectXY(CanvasKit.LTRBRect(50, 90, 160, 210), 30, 30); 258 canvas.drawRect(CanvasKit.LTRBRect(10, 10, 60, 60), paint); 260 canvas.drawRect(CanvasKit.LTRBRect(50, 10, 100, 60), paint); [all …]
|
D | core.spec.js | 20 CanvasKit.LTRBRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT)); 507 let r = CanvasKit.LTRBRect(0, 0, 100, 100); 523 r = CanvasKit.LTRBRect(100, 0, 200, 100); 535 r = CanvasKit.LTRBRect(0, 100, 100, 200); 555 r = CanvasKit.LTRBRect(100, 100, 200, 200); 585 let r = CanvasKit.LTRBRect(0, 0, 100, 100); 598 r = CanvasKit.LTRBRect(100, 0, 200, 100); 611 r = CanvasKit.LTRBRect(0, 100, 100, 200); 625 r = CanvasKit.LTRBRect(100, 100, 200, 200); 658 let r = CanvasKit.LTRBRect(0, 0, 100, 100); [all …]
|
D | path.spec.js | 287 path.addOval(CanvasKit.LTRBRect(10, 20, 100, 200), false, 3); 344 path.arcToOval(CanvasKit.LTRBRect(90, 10, 120, 200), 30, 300, true); 472 path.addArc(CanvasKit.LTRBRect(10, 20, 100, 200), 30, 300) 473 .addRect(CanvasKit.LTRBRect(200, 200, 300, 300)) // test single arg, default cw 474 .addRect(CanvasKit.LTRBRect(240, 240, 260, 260), true) // test two arg, true means ccw
|
D | font.spec.js | 48 arc.arcToOval(CanvasKit.LTRBRect(20, 40, 280, 300), -160, 140, true); 50 arc.arcToOval(CanvasKit.LTRBRect(20, 0, 280, 260), 160, -140, true); 80 arc.arcToOval(CanvasKit.LTRBRect(20, 40, 280, 300), -160, 140, true); 82 arc.arcToOval(CanvasKit.LTRBRect(20, 0, 280, 260), 160, -140, true);
|
D | paragraph.spec.js | 127 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, 230), paint); 416 CanvasKit.LTRBRect(rect[0]+10,rect[1]+10,rect[2]+10,rect[3]+10); 560 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, wrapTo+10), paint); 671 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, wrapTo+10), paint); 728 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, wrapTo+10), paint); 799 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, 230), paint); 876 canvas.drawRect(CanvasKit.LTRBRect(0, 150 * i, wrapTo, 150 * i + 120), paint); 925 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, wrapTo+10), paint); 976 canvas.drawRect(CanvasKit.LTRBRect(10, 10, wrapTo+10, wrapTo+10), paint);
|
D | rtshader.spec.js | 73 canvas.drawRect(CanvasKit.LTRBRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), paint); 169 canvas.drawRect(CanvasKit.LTRBRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), paint);
|
D | skottie.spec.js | 42 const bounds = CanvasKit.LTRBRect(0, 0, 500, 500); 71 const bounds = CanvasKit.LTRBRect(0, 0, 500, 500);
|
D | matrix.spec.js | 200 const mat = CanvasKit.M44.setupCamera(CanvasKit.LTRBRect(0, 0, 200, 200), 200, cam);
|
/external/skqp/modules/pathkit/tests/ |
D | path.spec.js | 116 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0)); 118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8)); 120 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4)); 122 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4)); 134 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3)); 136 PathKit.LTRBRect(1, 1,
|
/external/skia/modules/pathkit/tests/ |
D | path.spec.js | 100 expect(path.getBounds()).toEqual(PathKit.LTRBRect(0, 0, 0, 0)); 102 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, -5, -8)); 104 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4)); 106 expect(path.getBounds()).toEqual(PathKit.LTRBRect(-5, -8, 3, 4)); 118 expect(path.getBounds()).toEqual(PathKit.LTRBRect(1, 1, 4, 3)); 120 PathKit.LTRBRect(1, 1,
|
/external/skia/demos.skia.org/demos/image_decode_web_worker/ |
D | main.js | 35 CanvasKit.LTRBRect(0, 0, 3764, 5706), // original size of the image 36 CanvasKit.LTRBRect(0, 0, 500, 800), // scaled down
|
/external/skqp/experimental/canvaskit/tests/ |
D | path.spec.js | 130 canvas.drawRoundRect(CanvasKit.LTRBRect(5, 35, 45, 80), 15, 10, paint); 132 canvas.drawOval(CanvasKit.LTRBRect(5, 35, 45, 80), paint); 134 canvas.drawArc(CanvasKit.LTRBRect(55, 35, 95, 80), 15, 270, true, paint);
|
/external/skia/site/docs/user/modules/ |
D | quickstart.md | 33 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 25, 15); 58 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 25, 15); 109 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 25, 15); 156 // const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 25, 15); 177 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(x, y, x+w, y+h), 25, 15); 195 // const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(10, 60, 210, 260), 25, 15); 217 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(x, y, x+w, y+h), 25, 15);
|
D | canvaskit.md | 519 skcanvas.drawRect(CanvasKit.LTRBRect(0, 0, 512, 512), paint); 550 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(margin, margin, 708 CanvasKit.LTRBRect(0, 0, vSphereRadius, vSphereRadius), vSphereRadius/2, cam));
|
D | pathkit.md | 885 #### `PathKit.LTRBRect(left, top, right, bottom)`
|
/external/skia/tools/perf-canvaskit-puppeteer/ |
D | canvas_perf.js | 40 ctx.canvas.clipRect(CanvasKit.LTRBRect(x, y, x+50, y+50), 64 ctx.canvas.drawOval(CanvasKit.LTRBRect(x, y, x+50, y+50), ctx.paint); 87 const rr = CanvasKit.RRectXY(CanvasKit.LTRBRect(x, y, x+50, y+50), 10, 10,); 111 ctx.canvas.drawRect(CanvasKit.LTRBRect(x, y, x+50, y+50), ctx.paint);
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 234 var bounds = CanvasKit.LTRBRect(x-radius, y-radius, x+radius, y+radius); 254 this._arcTo(CanvasKit.LTRBRect(args[0], args[1], args[2], args[3]), 498 CanvasKit.LTRBRect = function(l, t, r, b) { class
|
D | externs.js | 29 LTRBRect: function() {}, method
|
/external/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 429 const someRect = CK.LTRBRect(10, 20, 30, 40); 637 const matr11 = m44.setupCamera(CK.LTRBRect(1, 2, 3, 4), 0.4, { 651 const canvas = recorder.beginRecording(CK.LTRBRect(0, 0, 100, 100)); // $ExpectType Canvas 658 const rectOne = CK.LTRBRect(5, 10, 20, 30); // $ExpectType Float32Array
|
D | index.d.ts | 88 LTRBRect(left: number, top: number, right: number, bottom: number): Rect; method
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
D | path2d.js | 47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
|
/external/skia/modules/canvaskit/htmlcanvas/ |
D | path2d.js | 47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
|
/external/skia/modules/canvaskit/ |
D | paragraph.js | 29 … var r = CanvasKit.LTRBRect(floatArray[i], floatArray[i+1], floatArray[i+2], floatArray[i+3]);
|
D | interface.js | 171 var bounds = CanvasKit.LTRBRect(x-radius, y-radius, x+radius, y+radius); 1041 CanvasKit.LTRBRect = function(l, t, r, b) { class
|
D | externs.js | 30 LTRBRect: function() {}, method
|