def filter.window.aligned

gralha-svg-render@0.1.0.1 · svg.bend:4759

import gralha-svg-render@0.1.0.1/svg.bend as Svg
import Base

4759# An axis-aligned window clips a buffer pixel by its exact overlap with the region.
4760def filter.window.aligned(window: FilterWindow) -> Bool:
4761  FilterWindow{region, inverse, exact} = window
4762  Matrix{a, b, c, d, e, f} = inverse
4763  F32.is_eq(b, 0.0) && F32.is_eq(c, 0.0)

Uses (5)

Used by (1)