(pixels, options, size)
| 39319 | } |
| 39320 | |
| 39321 | function 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 | |
| 39343 | function vectorizeText(str, canvas, context, options) { |
| 39344 | var size = 64 |
no test coverage detected
searching dependent graphs…