($, data)
| 138621 | const INSIDE_OPACITY_IN_ALPHA = 0x10000000; |
| 138622 | const INSIDE_OPACITY = 0.0625; |
| 138623 | function baseBitmaps($, data) { |
| 138624 | const bitmap = $.bitmap(); // when there is no base mark but data points are to be avoided |
| 138625 | (data || []).forEach((d)=>bitmap.set($(d.boundary[0]), $(d.boundary[3]))); |
| 138626 | return [ |
| 138627 | bitmap, |
| 138628 | undefined |
| 138629 | ]; |
| 138630 | } |
| 138631 | function markBitmaps($, avoidMarks, labelInside, isGroupArea) { |
| 138632 | // create canvas |
| 138633 | const width = $.width, height = $.height, border = labelInside || isGroupArea, context = (0, _vegaCanvas.canvas)(width, height).getContext("2d"); // render all marks to be avoided into canvas |
no test coverage detected