Method Cairo.Context()->device_to_user_distance()
- Method
device_to_user_distance
array(float) device_to_user_distance(float|intdx,float|intdy)- Description
Transform a distance vector from device space to user space. This function is similar to device_to_user() except that the translation components of the inverse CTM will be ignored when transforming (dx, dy).
- Parameter
dx X component of a distance vector (in/out parameter)
- Parameter
dy Y component of a distance vector (in/out parameter)
- Returns
The transformed distance vector
Array float0X component of the new distance vector
float1Y component of the new distance vector