Method Cairo.Matrix()->scale()


Method scale

void scale(float|int sx, float|int sy)

Description

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

Parameter sx

scale factor in the X direction

Parameter sy

scale factor in the Y direction