pub fn calculate_screen_uv(
    p: DevicePoint,
    clipped: DeviceRect
) -> DeviceHomogeneousVector