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

pub fn abs_transform(w: Scalar, h: Scalar) -> Matrix2d

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.