pub fn window_position(position: LogicalPosition<f64>) -> NSPoint {
    NSPoint::new(
        position.x as CGFloat,
        CGDisplay::main().pixels_high() as CGFloat - position.y as CGFloat,
    )
}
/// Converts from winit screen-coordinates to macOS screen-coordinates.
/// Winit: top-left is (0, 0) and y increasing downwards
/// macOS: bottom-left is (0, 0) and y increasing upwards
Converts from winit screen-coordinates to macOS screen-coordinates.
Winit: top-left is (0, 0) and y increasing downwards
macOS: bottom-left is (0, 0) and y increasing upwards
Converts from winit screen - coordinates to macOS screen - coordinates . Winit : top - left is ( 0 0 ) and y increasing downwards macOS : bottom - left is ( 0 0 ) and y increasing upwards
pub fn window_position(position: LogicalPosition<f64>) -> NSPoint {
    NSPoint::new(
        position.x as CGFloat,
        CGDisplay::main().pixels_high() as CGFloat - position.y as CGFloat,
    )
}
pub fn window_position ( position : LogicalPosition < f64 > ) -> NSPoint { NSPoint :: new ( position . x as CGFloat , CGDisplay :: main ( ) . pixels_high ( ) as CGFloat - position . y as CGFloat , ) }
Converts from winit screen-coordinates to macOS screen-coordinates.
Converts from winit screen - coordinates to macOS screen - coordinates .
position
LogicalPosition<f64>