Unless this is an Apple documentation mistake, the docs state:

```
aRect
The rectangle in view coordinates.
```

And returns a rectangle in window coordinates.