OfxParametricParameterSuiteV1::parametricParamAddControlPoint
— Adds a control point to the curve.
#include "ofxParametricParam.h"
OfxStatus(*parametricParamAddControlPoint)( | OfxParamHandleparam, |
int curveIndex, | |
doubletime, | |
doublekey, | |
doublevalue, | |
booladdAnimationKey) ; |
This will add a new control point to the given dimension of a parametric parameter. If a key exists sufficiently close to 'key', then it will be set to the indicated control point.
kOfxStatOK
- all was fine kOfxStatErrBadHandle
- if the paramter handle was invalidkOfxStatErrUnknown
- if the type is unknown