Cogl.Matrix.prototype.scale

function scale(sx: Number(gfloat), sy: Number(gfloat), sz: Number(gfloat)): void {
    // Gjs wrapper for cogl_matrix_scale()
}
  

Multiplies matrix with a transform matrix that scales along the X, Y and Z axis.

sx

The X scale factor

sy

The Y scale factor

sz

The Z scale factor