def paint.color
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-image@0.1.0.1/image.bend as Img
5299def paint.color(solid: Bool, +ctx: PaintCtx, +p: Point) -> Img.Color:
5300 match solid:
5301 case True{}: paint.tint.ctx(ctx)
5302 case False{}: paint.sampled.ctx(ctx, p)