Instance Method
quadraticCurve(points:count:) qCurveWithPoints:count: qCurveWithPoints_count_
Draw a whole string of quadratic curve segments.
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
pointsA sequence of zero or more off-curve points followed by a single on-curve point.
countThe total number of points in
points. A count of0is 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.