def cover.bitmap

gralha-svg-render@0.1.0.1 · svg.bend:4346

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import 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))

Uses (7)

Used by (1)