def filter.offset

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

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

4891def filter.offset(+as: List<&2, XML.Attr>, viewport: Point) -> Point:
4892  Point{w, h} = viewport
4893  Point{dimension(as, "dx", w, "0"), dimension(as, "dy", h, "0")}

Uses (4)

Used by (2)