Home
last modified time | relevance | path

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

/external/skia/modules/canvaskit/tests/
Dutil.js104 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT); constant
105 skcanvas._config = 'software_canvas';
114 callback(skcanvas);
115 const png = skcanvas.toDataURL();
125 for (const canvas of [skcanvas, realCanvas]) {
132 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();
/external/skia/demos.skia.org/demos/web_worker/
Dshared.js10 function drawFrame(skcanvas) { argument
15 animation.render(skcanvas, [0, 0, 500, 500]);
/external/skqp/experimental/canvaskit/canvaskit/
DREADME.md81 let skcanvas = CanvasKit.MakeCanvas(600, 600);
83 let ctx = skcanvas.getContext('2d');
95 let imgData = skcanvas.toDataURL();
/external/skqp/experimental/canvaskit/tests/
Dcanvas2d.spec.js273 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
274 skcanvas._config = 'software_canvas';
282 for (let canvas of [skcanvas, realCanvas]) {
289 skcanvas.dispose();
812 const skcanvas = CanvasKit.MakeCanvas(CANVAS_WIDTH, CANVAS_HEIGHT);
817 const skcontext = skcanvas.getContext('2d');
836 skcanvas.dispose();
/external/skia/modules/canvaskit/npm_build/
DREADME.md85 let skcanvas = CanvasKit.MakeCanvas(600, 600);
87 let ctx = skcanvas.getContext('2d');
99 let imgData = skcanvas.toDataURL();
/external/skia/site/docs/user/modules/
Dcanvaskit.md358 const skcanvas = surface.getCanvas();
365 skcanvas.drawText(`Fetching Font data...`, 5, 450, fontPaint, font);
399 skcanvas.clear(CanvasKit.WHITE);
403 skcanvas.drawParagraph(paragraph, 0, 0);
404 skcanvas.drawLine(wrapTo, 0, wrapTo, 400, fontPaint);
410skcanvas.drawText(`At (${X.toFixed(2)}, ${Y.toFixed(2)}) glyph is '${glyph}'`, 5, 450, fontPaint, …
483 const skcanvas = surface.getCanvas();
510 skcanvas.clear(CanvasKit.WHITE);
519 skcanvas.drawRect(CanvasKit.LTRBRect(0, 0, 512, 512), paint);
/external/skia/modules/canvaskit/htmlcanvas/
Dcanvas2dcontext.js1 function CanvasRenderingContext2D(skcanvas) { argument
2 this._canvas = skcanvas;
/external/skqp/experimental/canvaskit/htmlcanvas/
Dcanvas2dcontext.js1 function CanvasRenderingContext2D(skcanvas) { argument
2 this._canvas = skcanvas;