Method Cairo.Context()->scale()
- Method
scale
voidscale(float|intsx,float|intsy)- Description
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.
- Parameter
sx scale factor for the X dimension
- Parameter
sy scale factor for the Y dimension