---
title: "convertRectFromBacking(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsscreen/convertrectfrombacking(_:)"
---

# convertRectFromBacking(_:)

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

## Declaration

```swift
func convertRectFromBacking(_ rect: NSRect) -> NSRect
```

## Parameters

- `rect`: The rectangle.

## Return Value

Return Value The rectangle converted from the device pixel aligned coordinates system of the screen.

## See Also

### Converting Between Screen and Backing Coordinates

- [backingAlignedRect(_:options:)](appkit/nsscreen/backingalignedrect(_:options:).md)
- [backingScaleFactor](appkit/nsscreen/backingscalefactor.md)
- [convertRectToBacking(_:)](appkit/nsscreen/convertrecttobacking(_:).md)
