(zoomlayer, xs, ys)
| 1170 | } |
| 1171 | |
| 1172 | function makeCorners(zoomlayer, xs, ys) { |
| 1173 | return zoomlayer.append('path') |
| 1174 | .attr('class', 'zoombox-corners') |
| 1175 | .style({ |
| 1176 | fill: Color.background, |
| 1177 | stroke: Color.defaultLine, |
| 1178 | 'stroke-width': 1, |
| 1179 | opacity: 0 |
| 1180 | }) |
| 1181 | .attr('transform', strTranslate(xs, ys)) |
| 1182 | .attr('d', 'M0,0Z'); |
| 1183 | } |
| 1184 | |
| 1185 | function updateZoombox(zb, corners, box, path0, dimmed, lum) { |
| 1186 | zb.attr('d', |
no outgoing calls
no test coverage detected
searching dependent graphs…