Contents

convertToScreen(_:)

Converts a rectangle to the screen coordinate system from the window’s coordinate system.

Declaration

func convertToScreen(_ rect: NSRect) -> NSRect

Parameters

  • rect:

    A rectangle in the window’s coordinate system.

Return Value

A rectangle in the screen’s coordinate system.

See Also

Converting Coordinates