# `GSGridSettings`

*Structure*

Grid settings used to round coordinates.

## Declaration

```swift
struct GSGridSettings
```

```objc
typedef struct GSGridSettings { ... } GSGridSettings;
```

```python
GSGridSettingsGSGridSettings
```

## Overview

The effective horizontal and vertical lengths determine the rounding intervals. The main lengths, subdivisions, and slope retain the source grid configuration.

## Topics

### Instance Properties

- [`GSGridSettings.lengthHorizontal`](/Core/GlyphsCore/GSGridSettings/lengthHorizontal) — The effective interval for rounding horizontal coordinates.
- [`GSGridSettings.lengthVertical`](/Core/GlyphsCore/GSGridSettings/lengthVertical) — The effective interval for rounding vertical coordinates.
- [`GSGridSettings.mainHorizontal`](/Core/GlyphsCore/GSGridSettings/mainHorizontal) — The horizontal length of the main grid before subdivision.
- [`GSGridSettings.mainVertical`](/Core/GlyphsCore/GSGridSettings/mainVertical) — The vertical length of the main grid before subdivision.
- [`GSGridSettings.slopeRise`](/Core/GlyphsCore/GSGridSettings/slopeRise) — The rise component of the grid slope.
- [`GSGridSettings.slopeRun`](/Core/GlyphsCore/GSGridSettings/slopeRun) — The run component of the grid slope.
- [`GSGridSettings.subDivisionHorizontal`](/Core/GlyphsCore/GSGridSettings/subDivisionHorizontal) — The number of horizontal subdivisions of the main grid.
- [`GSGridSettings.subDivisionVertical`](/Core/GlyphsCore/GSGridSettings/subDivisionVertical) — The number of vertical subdivisions of the main grid.

