Instance Method

getControlPointAtIndex:values:

Returns the control point for the specified index.

Declaration

- (void)getControlPointAtIndex:(size_t)idx values:(float *)ptr;

Parameters

index

An integer specifying the index of the control point to return.

ptr

A pointer to an array that, upon return, will contain the x and y values of the specified point.

Discussion

The value of index must be between 0 and 3.