Method Cairo.Matrix()->transform_point()
- Method
transform_point
array(float) transform_point(float|intx,float|inty)- Description
Transforms the point (x, y). The transformation is given by:
x_new = xx * x + xy * y + x0; y_new = yx * x + yy * y + y0;- Parameter
x X position
- Parameter
y Y position
- Returns
The transformed point
Array float0X position of the new point
float1Y position of the new point