| 122792 | return boundStroke(bounds13.set(x1 = item.x || 0, y1 = item.y || 0, item.x2 != null ? item.x2 : x1, item.y2 != null ? item.y2 : y1), item); |
| 122793 | } |
| 122794 | function path(context46, item, opacity) { |
| 122795 | var x1, y1, x2, y2; |
| 122796 | if (item.stroke && stroke(context46, item, opacity)) { |
| 122797 | x1 = item.x || 0; |
| 122798 | y1 = item.y || 0; |
| 122799 | x2 = item.x2 != null ? item.x2 : x1; |
| 122800 | y2 = item.y2 != null ? item.y2 : y1; |
| 122801 | context46.beginPath(); |
| 122802 | context46.moveTo(x1, y1); |
| 122803 | context46.lineTo(x2, y2); |
| 122804 | return true; |
| 122805 | } |
| 122806 | return false; |
| 122807 | } |
| 122808 | function draw$1(context47, scene, bounds14) { |
| 122809 | visit(scene, (item)=>{ |
| 122810 | if (bounds14 && !bounds14.intersects(item.bounds)) return; // bounds check |