# `GSQuadratic2Cubic`

*Function*

## Declaration

```swift
func GSQuadratic2Cubic(_ pt0: NSPoint, _ pt1: NSPoint, _ pt2: NSPoint, _ off1: UnsafeMutablePointer<NSPoint>, _ off2: UnsafeMutablePointer<NSPoint>)
```

```objc
void GSQuadratic2Cubic(NSPoint pt0, NSPoint pt1, NSPoint pt2, NSPoint *off1, NSPoint *off2);
```

```python
GSQuadratic2Cubic(pt0: NSPoint, pt1: NSPoint, pt2: NSPoint, off1: NSPoint, off2: NSPoint)
```

## See Also

### Curve Subdivision and Conversion

- [`GSHalveCubicPoints`](/Core/GlyphsCore/GSHalveCubicPoints)
- [`GSHalveCubicSegment`](/Core/GlyphsCore/GSHalveCubicSegment)
- [`GSHalveQuadraticPoints`](/Core/GlyphsCore/GSHalveQuadraticPoints)
- [`GSHalveQuadraticSegment`](/Core/GlyphsCore/GSHalveQuadraticSegment)
- [`GSDividQuadraticPoints`](/Core/GlyphsCore/GSDividQuadraticPoints)
- [`GSDividQuadraticSpline`](/Core/GlyphsCore/GSDividQuadraticSpline)
- [`GSDividCubicPoints`](/Core/GlyphsCore/GSDividCubicPoints)
- [`GSDividCubicPointsTs`](/Core/GlyphsCore/GSDividCubicPointsTs)
- [`GSDividCubicSegment`](/Core/GlyphsCore/GSDividCubicSegment)
- [`GSDividQuarticSegment`](/Core/GlyphsCore/GSDividQuarticSegment)
- [`GSApproximateQuartic`](/Core/GlyphsCore/GSApproximateQuartic)
- [`GSQuarticToCubic`](/Core/GlyphsCore/GSQuarticToCubic) — Converts from a quartic curve segment to two cubic curve segments.
- [`GSSegmentBetweenPoints`](/Core/GlyphsCore/GSSegmentBetweenPoints)

