Copyright © 2008-2019 MultiMedia Soft

Effects.CurveDesigner.GetPoints method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves positions of Bézier curve control points (right and left) inside the curve designer. Control points can be modified programmatically through the Effects.CurveDesigner.SetPoints method or through the mouse by dragging provided "handles".

 

 

For details about using the Curve Designer refer to the How to create custom volume curves tutorial.

Further information about the use of Volume Automation can be found inside the How to define a volume automation procedure tutorial.

 

 

Syntax

 

[Visual Basic]

control.Effects.CurveDesigner.GetPoints (

nDesignerUniqueId as Long,

nLeftX as Integer,

nLeftY as Integer,

nRightX as Integer,

nRightY as Integer

) as enumErrorCodes


 

[C++]

short control.Effects.CurveDesigner.GetPoints (

long nDesignerUniqueId,

short *nLeftX,

short *nLeftY,

short *nRightX,

short *nRightY

);


 

 

 

Parameter

Description

 

 

nDesignerUniqueId

Unique identifier of the curve designer returned by a previous call to the Effects.CurveDesigner.Create method

nLeftX

Reference that, on return from the method call, will contain the horizontal position, expressed in percentage of the designer's area, of the left control point

nLeftY

Reference that, on return from the method call, will contain the vertical position, expressed in percentage of the designer's area, of the left control point

nRightX

Reference that, on return from the method call, will contain the horizontal position, expressed in percentage  of the designer's area, of the right control point

nRightY

Reference that, on return from the method call, will contain the vertical position, expressed in percentage of the designer's area, of the right control point

 

 

Return value

 

Value

Meaning

 

 

enumErrorCodes.ERR_NOERROR (0)

The call was successful.

Negative value

An error occurred (see the LastError property for further error details)