MCPcopy Index your code
hub / github.com/plotly/plotly.js / processPixels

Function processPixels

stackgl_modules/index.js:39321–39341  ·  view source on GitHub ↗
(pixels, options, size)

Source from the content-addressed store, hash-verified

39319}
39320
39321function processPixels(pixels, options, size) {
39322 try {
39323 return processPixelsImpl(pixels, options, size, true)
39324 } catch(e) {}
39325 try {
39326 return processPixelsImpl(pixels, options, size, false)
39327 } catch(e) {}
39328 if(options.polygons || options.polyline || options.polygon) {
39329 return []
39330 }
39331 if(options.triangles || options.triangulate || options.triangle) {
39332 return {
39333 cells: [],
39334 positions: []
39335 }
39336 }
39337 return {
39338 edges: [],
39339 positions: []
39340 }
39341}
39342
39343function vectorizeText(str, canvas, context, options) {
39344 var size = 64

Callers 1

vectorizeTextFunction · 0.85

Calls 1

processPixelsImplFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…