def raster.horizontal
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
import gralha-text-scan@0.1.0.1/scan.bend as U
import gralha-image@0.1.0.1/image.bend as Img
2258def raster.horizontal(+r: Raster, +x: F32, +y: F32, +dx: F32) -> Img.Color:
2259 U.branch(Img.Color, F32.is_eq(dx, 0.0), _ => raster.pixel(r, x, y),
2260 _ => color.mix(raster.pixel(r, x, y), raster.pixel(r, (x + 1.0 : F32), y), dx))