Contents

convertRectToBacking(_:)

Converts the rectangle to the device pixel aligned coordinates system of a screen.

Declaration

func convertRectToBacking(_ rect: NSRect) -> NSRect

Parameters

  • rect:

    The rectangle.

Return Value

The rectangle converted to the device pixel aligned coordinates system of the screen.

See Also

Converting Between Screen and Backing Coordinates