Searched refs:skcanvas (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/modules/canvaskit/tests/ |
D | util.js | 138 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); constant 139 skcanvas._config = 'software_canvas'; 148 callback(skcanvas); 149 const png = skcanvas.toDataURL(); 159 for (const canvas of [skcanvas, realCanvas]) { 166 skcanvas.dispose();
|
D | canvas2d.spec.js | 246 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); constant 247 skcanvas._config = 'software_canvas'; 256 test(skcanvas); 257 const png = skcanvas.toDataURL(); 267 for (let canvas of [skcanvas, realCanvas]) { 274 skcanvas.dispose(); 776 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); constant 781 const skcontext = skcanvas.getContext('2d'); 800 skcanvas.dispose();
|
/third_party/skia/demos.skia.org/demos/web_worker/ |
D | shared.js | 10 function drawFrame(skcanvas) { argument 15 animation.render(skcanvas, [0, 0, 500, 500]);
|
/third_party/flutter/skia/modules/canvaskit/tests/ |
D | canvas2d.spec.js | 255 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); 256 skcanvas._config = 'software_canvas'; 264 for (let canvas of [skcanvas, realCanvas]) { 271 skcanvas.dispose(); 794 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); 799 const skcontext = skcanvas.getContext('2d'); 818 skcanvas.dispose();
|
/third_party/flutter/skia/modules/canvaskit/canvaskit/ |
D | README.md | 84 let skcanvas = CanvasKit.MakeCanvas(600, 600); 86 let ctx = skcanvas.getContext('2d'); 98 let imgData = skcanvas.toDataURL();
|
/third_party/skia/modules/canvaskit/npm_build/ |
D | README.md | 85 let skcanvas = CanvasKit.MakeCanvas(600, 600); 87 let ctx = skcanvas.getContext('2d'); 99 let imgData = skcanvas.toDataURL();
|
/third_party/flutter/skia/site/user/modules/ |
D | canvaskit.md | 317 const skcanvas = surface.getCanvas(); 333 skcanvas.clear(CanvasKit.TRANSPARENT); 342 skcanvas.drawRect(CanvasKit.LTRBRect(10, 10, X, Y), paint); 343 skcanvas.drawText(shapedText, 10, 10, textPaint, smallFont); 344 skcanvas.drawText('Try dragging the box!', 10, 380, textPaint, bigFont);
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 1 function CanvasRenderingContext2D(skcanvas) { argument 2 this._canvas = skcanvas;
|
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 1 function CanvasRenderingContext2D(skcanvas) { argument 2 this._canvas = skcanvas;
|