def filter.window.area
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
4776def filter.window.area(window: FilterWindow, tile: Bounds) -> F32:
4777 FilterWindow{region, inverse, exact} = window
4778 Bounds{x0, y0, x1, y1} = tile
4779 +m = inverse
4780 filter.window.overlap(region, bounds.point(bounds.point(bounds.empty(), matrix.point(m, Point{x0, y0})), matrix.point(m, Point{x1, y1})))