Function elmesque::transform_2d::translation [−] [src]

pub fn translation(x: f64, y: f64) -> Transform2D

Creates a transformation matrix for translation.

1 0 x 0 1 y