[−][src]Function wlroots::render::matrix::project_box
pub fn project_box(
area: Area,
transform: wl_output_transform,
rotation: f32,
projection: [f32; 9]
) -> [f32; 9]
Shortcut for the various matrix operations involved in projecting the specified wlr_box onto a given orthographic projection with a given rotation. The result can be applied to each coordinate of the box to get a new coordinate from [-1,1].