MCPcopy
hub / github.com/apache/echarts / doPrint

Function doPrint

test/lib/testHelper.js:2259–2271  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2257 }
2258
2259 function doPrint() {
2260 _drawOpCtx.lastOps = {};
2261 var painter = chart.getZr().painter;
2262 if (painter.type !== 'canvas') {
2263 return;
2264 }
2265 var layers = painter.getLayers();
2266 for (var layerId in layers) {
2267 if (layers.hasOwnProperty(layerId)) {
2268 printSingleCanvasLayer(layerId, layers[layerId], frameNumber);
2269 }
2270 }
2271 }
2272
2273 function printSingleCanvasLayer(layerId, layer, frameNumber) {
2274 var layerInfo = _drawOpCtx.layersInfoMap[layerId];

Callers 1

testHelper.jsFile · 0.85

Calls 5

printSingleCanvasLayerFunction · 0.85
encodeJSObjectKeyFunction · 0.85
convertStringToJSLiteralFunction · 0.85
getZrMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…