Contents

getControlPoint(at:values:)

Returns the control point for the specified index.

Declaration

func getControlPoint(at idx: Int, values ptr: UnsafeMutablePointer<Float>)

Parameters

  • idx:

    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.