Move device_to_user convenience wrapper into Cairo