def cover.bitmap
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
4346# A minified image is box-filtered down to its device footprint (see raster.resample).
4347def cover.bitmap(+raster: Raster, +inv: Matrix, +nearest: Bool, axes: Point) -> Brush:
4348 Raster{origin, step, width, height, depth, linear, pixels} = raster
4349 Point{dx, dy} = axes
4350 cover.bitmap.sized(raster, inv, nearest, width, height, cover.reduced(width, dx), cover.reduced(height, dy))