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