Applies scaling by sx, sy to the transformation in matrix. The effect of the new transformation is to first scale the coordinates by sx and sy, then apply the original transformation to the coordinates.

cairo_matrix_scale(matrix, sx, sy)

Arguments

matrix

[cairo_matrix_t *] a #cairo_matrix_t

sx

[double] scale factor in the X direction

sy

[double] scale factor in the Y direction

Details

Since: 1.0

C function prototype: void cairo_matrix_scale (cairo_matrix_t *matrix, double sx, double sy)

See also