def bounds.finite
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
2560# These bounds enclose rendered coverage, including descendant strokes and
2561# markers. They are distinct from objectBoundingBox paint coordinates.
2562def bounds.finite(b: Bounds) -> Bool:
2563 Bounds{x0, y0, x1, y1} = b
2564 F32.is_lt(F32.abs(x0), 1.0e25) && F32.is_lt(F32.abs(y0), 1.0e25) && F32.is_lt(F32.abs(x1), 1.0e25) && F32.is_lt(F32.abs(y1), 1.0e25)