def paint.sampled
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-image@0.1.0.1/image.bend as Img
5288def paint.sampled(+br: Brush, +inv: Matrix, +linear: Bool, +p: Point) -> Img.Color:
5289 color.space(brush.sample(br, matrix.point(inv, p), matrix.point(inv, p), nodes => q => center => Img.clear()), linear)