Svg.context.unfaded: def of gralha-svg-render@0.1.0.1 Import: import gralha-svg-render@0.1.0.1/svg.bend as Svg Lines 3679-3689 of gralha-svg-render@0.1.0.1/svg.bend: https://jend.leeeet.dev/read.txt?path=gralha-svg-render@0.1.0.1/svg.bend&start_line=3679&end_line=3689 import Base # Resolve context paints after compiling the finite scene tree. Paint server # coordinates stay in the referencing shape's space, including bounding boxes. def context.unfaded(+brush: Brush) -> Brush: match brush: case Bitmap{raster, inv, nearest}: Bitmap{raster, inv, nearest} case Solid{col, source}: Solid{source, source} case PendingContext{stroke, opacity}: PendingContext{stroke, 1.0} case ContextPaint{source, matrix, opacity}: ContextPaint{source, matrix, 1.0} case Pattern{inverse, width, height, opacity, nodes}: Pattern{inverse, width, height, 1.0, nodes} case Tile{raster, inverse, width, height, opacity, u, v, grid}: Tile{raster, inverse, width, height, 1.0, u, v, grid} case Gradient{inv, radial, start, end, radius, fr, stops, spread, opacity, linear}: Gradient{inv, radial, start, end, radius, fr, stops, spread, 1.0, linear} Uses (1): https://jend.leeeet.dev/definition.txt?path=gralha-svg-render@0.1.0.1/svg.bend&name=Brush