Function graphics::math::abs_transform

source ยท
pub fn abs_transform<T>(w: T, h: T) -> Matrix2d<T>
where T: Float,
Expand description

Transforms from normalized to absolute coordinates.

Computes absolute transform from width and height of viewport. In absolute coordinates, the x axis points to the right, and the y axis points down on the screen.