convertFromBacking(_:)
Converts a rectangle from its pixel-aligned backing store coordinate system to the window’s coordinate system.
Declaration
func convertFromBacking(_ rect: NSRect) -> NSRectParameters
- rect:
The rectangle aligned to the pixel backing store coordinate system.
Return Value
A rectangle in the window’s coordinate system.