Method Cairo.Context()->device_to_user()
- Method
device_to_user
array(float) device_to_user(float|intx,float|inty)- Description
Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).
- Parameter
x X value of coordinate
- Parameter
y Y value of coordinate
- Returns
The transformed point
Array float0X position of the new point
float1Y position of the new point