Function mupdf_sys::fz_scale

source ·
pub unsafe extern "C" fn fz_scale(sx: f32, sy: f32) -> fz_matrix
Expand description

Create a scaling matrix.

The returned matrix is of the form [ sx 0 0 sy 0 0 ].

m: Pointer to the matrix to populate

sx, sy: Scaling factors along the X- and Y-axes. A scaling factor of 1.0 will not cause any scaling along the relevant axis.

Returns m.