cairo_matrix_init_scale: cairo_matrix_init_scale

Description Usage Arguments Details See Also

View source: R/cairo-matrix.R

Description

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

Usage

1

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

Other cairo-matrix: cairo_matrix_init_rotate(), cairo_matrix_init_translate(), cairo_matrix_init(), cairo_matrix_invert(), cairo_matrix_multiply(), cairo_matrix_rotate(), cairo_matrix_scale(), cairo_matrix_transform_distance(), cairo_matrix_transform_point(), cairo_matrix_translate()


coolbutuseless/cairocore documentation built on Aug. 31, 2020, 12:43 a.m.