# `GSLayer applyHints:`

*Instance Method*

Applies TrueType hints to the layer at a scale.

## Declaration

```swift
func applyHints(_ scale: CGFloat)
```

```objc
- (void) applyHints:(CGFloat) scale;
```

```python
applyHints_(scale: float)
```

## Parameters

- `scale` — The scale used to round hinted coordinates.

## Discussion

This mutates outline coordinates.

## See Also

### Hint Updates

- [`GSLayer updateCorners`](/Core/GlyphsCore/GSLayer/updateCorners) — Updates path component hints after referenced glyphs or components changed.
- [`GSLayer saveHints`](/Core/GlyphsCore/GSLayer/saveHints) — Saves hint positions before path changes.
- [`GSLayer restoreHints`](/Core/GlyphsCore/GSLayer/restoreHints) — Restores saved hint positions after path changes.
- [`GSLayer updateHints`](/Core/GlyphsCore/GSLayer/updateHints) — Updates hint indexes from their referenced nodes.
- [`GSLayer adjustHintsForReversedPaths:`](/Core/GlyphsCore/GSLayer/adjustHintsForReversedPaths:) — Adjusts hints after reversing paths.

