Function graphics::math::abs_transform [] [src]

pub fn abs_transform<T>(w: T, h: T) -> Matrix2d<T> where T: Float

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.