Initializes matrix to a transformation that scales by sx and sy in the X and Y dimensions, respectively.

cairo_matrix_init_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_init_scale (cairo_matrix_t *matrix, double sx, double sy)

See also