(zoomlayer, lum, xs, ys, path0)
| 1159 | } |
| 1160 | |
| 1161 | function makeZoombox(zoomlayer, lum, xs, ys, path0) { |
| 1162 | return zoomlayer.append('path') |
| 1163 | .attr('class', 'zoombox') |
| 1164 | .style({ |
| 1165 | fill: lum > 0.2 ? 'rgba(0,0,0,0)' : 'rgba(255,255,255,0)', |
| 1166 | 'stroke-width': 0 |
| 1167 | }) |
| 1168 | .attr('transform', strTranslate(xs, ys)) |
| 1169 | .attr('d', path0 + 'Z'); |
| 1170 | } |
| 1171 | |
| 1172 | function makeCorners(zoomlayer, xs, ys) { |
| 1173 | return zoomlayer.append('path') |
no outgoing calls
no test coverage detected
searching dependent graphs…