Home
last modified time | relevance | path

Searched refs:LTRBRect (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/modules/canvaskit/tests/
Dcanvas.spec.js28 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 …]
Dcore.spec.js20 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 …]
Dpath.spec.js287 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
Dfont.spec.js48 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);
Dparagraph.spec.js127 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);
Drtshader.spec.js73 canvas.drawRect(CanvasKit.LTRBRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), paint);
169 canvas.drawRect(CanvasKit.LTRBRect(0, 0, CANVAS_WIDTH, CANVAS_HEIGHT), paint);
Dskottie.spec.js42 const bounds = CanvasKit.LTRBRect(0, 0, 500, 500);
71 const bounds = CanvasKit.LTRBRect(0, 0, 500, 500);
Dmatrix.spec.js200 const mat = CanvasKit.M44.setupCamera(CanvasKit.LTRBRect(0, 0, 200, 200), 200, cam);
/external/skqp/modules/pathkit/tests/
Dpath.spec.js116 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/
Dpath.spec.js100 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/
Dmain.js35 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/
Dpath.spec.js130 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/
Dquickstart.md33 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);
Dcanvaskit.md519 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));
Dpathkit.md885 #### `PathKit.LTRBRect(left, top, right, bottom)`
/external/skia/tools/perf-canvaskit-puppeteer/
Dcanvas_perf.js40 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/
Dinterface.js234 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
Dexterns.js29 LTRBRect: function() {}, method
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts429 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
Dindex.d.ts88 LTRBRect(left: number, top: number, right: number, bottom: number): Rect; method
/external/skqp/experimental/canvaskit/htmlcanvas/
Dpath2d.js47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
/external/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
/external/skia/modules/canvaskit/
Dparagraph.js29 … var r = CanvasKit.LTRBRect(floatArray[i], floatArray[i+1], floatArray[i+2], floatArray[i+3]);
Dinterface.js171 var bounds = CanvasKit.LTRBRect(x-radius, y-radius, x+radius, y+radius);
1041 CanvasKit.LTRBRect = function(l, t, r, b) { class
Dexterns.js30 LTRBRect: function() {}, method

12