fn make_transmatrix(
    m: &mut TMatrix,
    xoffset: f64,
    yoffset: f64,
    xscale: f64,
    yscale: f64,
    rotate: f64,
) {
    let (s, c) = rotate.sin_cos();
    *m = TMatrix::row_major(
        xscale * c,
        xscale * s,
        -yscale * s,
        yscale * c,
        xoffset,
        yoffset,
    );
}
/*
 * Compute a transformation matrix
 * transformations are applied in the following
 * order: scaling, rotate, displacement.
 */
Compute a transformation matrix
transformations are applied in the following
order: scaling, rotate, displacement.
Compute a transformation matrix transformations are applied in the following order : scaling rotate displacement .
fn make_transmatrix(
    m: &mut TMatrix,
    xoffset: f64,
    yoffset: f64,
    xscale: f64,
    yscale: f64,
    rotate: f64,
) {
    let (s, c) = rotate.sin_cos();
    *m = TMatrix::row_major(
        xscale * c,
        xscale * s,
        -yscale * s,
        yscale * c,
        xoffset,
        yoffset,
    );
}
fn make_transmatrix ( m : & mut TMatrix , xoffset : f64 , yoffset : f64 , xscale : f64 , yscale : f64 , rotate : f64 , ) { let ( s , c ) = rotate . sin_cos ( ) ; * m = TMatrix :: row_major ( xscale * c , xscale * s , - yscale * s , yscale * c , xoffset , yoffset , ) ; }
Compute a transformation matrix
 transformations are applied in the following
 order: scaling, rotate, displacement.
Compute a transformation matrix transformations are applied in the following order : scaling rotate displacement .
m
&mut TMatrix
xoffset
f64
yoffset
f64
xscale
f64
yscale
f64
rotate
f64