Declaration

func quadraticCurve(points: UnsafePointer<NSPoint>!, count: UInt)

Declaration

- (void) qCurveWithPoints:(const NSPoint *) points count:(NSUInteger) count;

Declaration

qCurveWithPoints_count_(points: NSPoint, count: int)

Parameters

points

A sequence of zero or more off-curve points followed by a single on-curve point.

count

The total number of points in points. A count of 0 is invalid.

Discussion

The last point specified is on-curve, all others are off-curve points. When the last point has an X coordinate of NSNotFound, then there is no on-curve end point. Instead, the implied on-curve point is placed half-way between the last and first off-curve point.

If no off-curve points are given, performs a line-to operation to the on-curve point.