Package: cairo

Function cairo-scale

Lambda List

cairo-scale (cr sx sy)

Arguments

cr -- a cairo-t context
sx -- a double float with the scale factor for the x dimension
sy -- a double float with the scale factor for the y dimension

Details

Modifies the current transformation matrix (CTM) by scaling the x and y user-space axes by sx and sy respectively. The scaling of the axes takes place after any existing transformation of user space.
 

See also

2020-12-15