# `GSPath convertToCubic`

*Instance Method*

Converts the path to cubic curve segments.

## Declaration

```swift
func convertToCubic()
```

```objc
- (void) convertToCubic;
```

```python
convertToCubic()
```

## See Also

### Curve Conversion

- [`GSPathCurveError`](/Core/GlyphsCore/GSPathCurveError) — The default tolerance for converting cubic curve segments to quadratic curve segments.
- [`GSPath convertToTrueTypeError`](/Core/GlyphsCore/GSPath/convertToTrueTypeError) — The tolerance used when converting the path to quadratic curve segments.
- [`GSPath convertToQuadratic`](/Core/GlyphsCore/GSPath/convertToQuadratic) — Converts the path to quadratic curve segments.
- [`GSPath convertToQuadraticWithError:`](/Core/GlyphsCore/GSPath/convertToQuadraticWithError:) — Converts the path to quadratic curve segments.
- [`GSPath convertToBezier`](/Core/GlyphsCore/GSPath/convertToBezier) — Converts special curve node types to Bezier curve segments.
- [`GSPath convertToHobby`](/Core/GlyphsCore/GSPath/convertToHobby) — Converts the path to Hobby curve segments.
- [`GSPath applySolutions:toNodes:grid:`](/Core/GlyphsCore/GSPath/applySolutions:toNodes:grid:) — Applies converted quadratic segments to existing nodes.

