Name
ccontext:DeviceToUser -- device to user
Synopsis
ux, uy = ccontext:DeviceToUser(dx, dy)
Function
Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).
Inputs
dx
X value of coordinate (device space)
dy
Y value of coordinate (device space)
Results
ux
X value of coordinate (user space)
uy
Y value of coordinate (user space)
Show TOC