Home
last modified time | relevance | path

Searched refs:skcanvas (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/modules/canvaskit/tests/
Dutil.js138 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();
Dcanvas2d.spec.js246 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/
Dshared.js10 function drawFrame(skcanvas) { argument
15 animation.render(skcanvas, [0, 0, 500, 500]);
/third_party/flutter/skia/modules/canvaskit/tests/
Dcanvas2d.spec.js255 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/
DREADME.md84 let skcanvas = CanvasKit.MakeCanvas(600, 600);
86 let ctx = skcanvas.getContext('2d');
98 let imgData = skcanvas.toDataURL();
/third_party/skia/modules/canvaskit/npm_build/
DREADME.md85 let skcanvas = CanvasKit.MakeCanvas(600, 600);
87 let ctx = skcanvas.getContext('2d');
99 let imgData = skcanvas.toDataURL();
/third_party/flutter/skia/site/user/modules/
Dcanvaskit.md317 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/
Dcanvas2dcontext.js1 function CanvasRenderingContext2D(skcanvas) { argument
2 this._canvas = skcanvas;
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js1 function CanvasRenderingContext2D(skcanvas) { argument
2 this._canvas = skcanvas;