# `GSRelativePointInRect`

*Function*

## Declaration

```swift
func GSRelativePointInRect(_ absolutePoint: NSPoint, _ rect: NSRect) -> NSPoint
```

```objc
static NSPoint GSRelativePointInRect(NSPoint absolutePoint, NSRect rect);
```

```python
GSRelativePointInRect(absolutePoint: NSPoint, rect: NSRect) -> NSPoint
```

## See Also

### Point, Size, and Rect Utilities

- [`GSMaxPoint`](/Core/GlyphsCore/GSMaxPoint)
- [`GSMinPoint`](/Core/GlyphsCore/GSMinPoint)
- [`GSScaleRect`](/Core/GlyphsCore/GSScaleRect)
- [`GSScaleRectAroundPoint`](/Core/GlyphsCore/GSScaleRectAroundPoint)
- [`GSCenteredRectInRect`](/Core/GlyphsCore/GSCenteredRectInRect)
- [`GSValidateRect`](/Core/GlyphsCore/GSValidateRect)
- [`GSValidateRange`](/Core/GlyphsCore/GSValidateRange)
- [`GSScaleSize`](/Core/GlyphsCore/GSScaleSize)
- [`GSScalePoint`](/Core/GlyphsCore/GSScalePoint)
- [`GSAddPoints`](/Core/GlyphsCore/GSAddPoints)
- [`GSSubtractPoints`](/Core/GlyphsCore/GSSubtractPoints)
- [`GSFlipUnitPoint`](/Core/GlyphsCore/GSFlipUnitPoint)
- [`GSInterpolatePoints`](/Core/GlyphsCore/GSInterpolatePoints)
- [`GSAbsolutePointInRect`](/Core/GlyphsCore/GSAbsolutePointInRect)

