pub unsafe extern "C" fn fz_pre_translate(
    m: fz_matrix,
    tx: f32,
    ty: f32
) -> fz_matrix
Expand description

Translate a matrix by premultiplication.

m: The matrix to translate

tx, ty: Translation distances along the X- and Y-axes. A translation of 0 will not cause any translation along the relevant axis.

Returns m.