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
pub fn translation(x: f64, y: f64) -> Transform2D
Creates a transformation matrix for translation.
1 0 x 0 1 y
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).