(origin, width, height)
| 123756 | } |
| 123757 | const base$1 = Renderer.prototype; |
| 123758 | const viewBounds = (origin, width, height)=>new Bounds().set(0, 0, width, height).translate(-origin[0], -origin[1]); |
| 123759 | function clipToBounds(g, b18, origin) { |
| 123760 | // expand bounds by 1 pixel, then round to pixel boundaries |
| 123761 | b18.expand(1).round(); // align to base pixel grid in case of non-integer scaling (#2425) |