# `GSHalveQuadraticSegment`

*Function*

## Declaration

```swift
func GSHalveQuadraticSegment(_ p: UnsafePointer<NSPoint>, _ q: UnsafeMutablePointer<NSPoint>, _ r: UnsafeMutablePointer<NSPoint>)
```

```objc
void GSHalveQuadraticSegment(const NSPoint *p, NSPoint *q, NSPoint *r);
```

```python
GSHalveQuadraticSegment(p: NSPoint, q: NSPoint, r: NSPoint)
```

## See Also

### Curve Subdivision and Conversion

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

