# `GSDividQuadraticSpline`

*Function*

## Declaration

```swift
func GSDividQuadraticSpline(_ p: UnsafePointer<NSPoint>, _ pCount: Int32, _ q: UnsafeMutablePointer<NSPoint>?, _ qCount: Int32, _ r: UnsafeMutablePointer<NSPoint>?, _ rCount: Int32, _ segmentT: CGFloat) -> Bool
```

```objc
BOOL GSDividQuadraticSpline(const NSPoint *p, const int pCount, NSPoint *q, const int qCount, NSPoint *r, const int rCount, const CGFloat segmentT);
```

```python
GSDividQuadraticSpline(p: NSPoint, pCount: int, q: NSPoint, qCount: int, r: NSPoint, rCount: int, segmentT: float) -> bool
```

## See Also

### Curve Subdivision and Conversion

- [`GSHalveCubicPoints`](/Core/GlyphsCore/GSHalveCubicPoints)
- [`GSHalveCubicSegment`](/Core/GlyphsCore/GSHalveCubicSegment)
- [`GSHalveQuadraticPoints`](/Core/GlyphsCore/GSHalveQuadraticPoints)
- [`GSHalveQuadraticSegment`](/Core/GlyphsCore/GSHalveQuadraticSegment)
- [`GSQuadratic2Cubic`](/Core/GlyphsCore/GSQuadratic2Cubic)
- [`GSDividQuadraticPoints`](/Core/GlyphsCore/GSDividQuadraticPoints)
- [`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)

