pub fn transform_pointer(event: &Event, matrix: [f32; 6]) -> Option<Event>Expand description
Applies the full affine inverse of matrix to all pointer-coordinate events. Returns None for
non-pointer events or when matrix is degenerate (det ≈ 0), so callers fall back to the original.
Public because a component that paints a subtree under a [RenderNode::Transform] it chose itself — a
hand-placed rail or panel, rather than a laid-out one — has to put the same transform’s inverse on the
events it forwards there, or its hit-testing drifts from what is on screen.