Context.userToDevice

void userToDevice(out double x, out double y)

Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).

Parameters

xX value of coordinate (in/out parameter)
yY value of coordinate (in/out parameter)