CallbackCurveDesignerPointsChange delegate |
|
Remarks
Callback delegate invoked when the curve inside a volume curve designer control is modified by dragging one of the control points through the mouse interaction: this callback can be set through a call to the CallbackCurveDesignerPointsChangeSet method.
The usage of this delegate is alternative to the VolumeCurveDesignerChanged event.
For further details about callback delegates see the How to synchronize the container application through callback delegates tutorial.
For details about using the Curve Designer refer to the How to create custom volume curves tutorial.
For details about using Volume Automation refer to the How to manage Volume Automation tutorial.
Syntax
[Visual Basic] Public Delegate Sub CallbackCurveDesignerPointsChange ( ByVal nDesignerUniqueId as Int32, ByVal nLeftX as Int16, ByVal nLeftY as Int16, ByVal nRightX as Int16, ByVal nRightY as Int16 ) |
[C#] public delegate void CallbackCurveDesignerPointsChange ( Int32 nDesignerUniqueId, Int16 nLeftX, Int16 nLeftY, Int16 nRightX, Int16 nRightY ) |
[C++] public delegate void CallbackCurveDesignerPointsChange ( Int32 nDesignerUniqueId, Int16 nLeftX, Int16 nLeftY, Int16 nRightX, Int16 nRightY ) |
Parameter |
Description |
|
|
nDesignerUniqueId |
Number representing the unique identifier of the curve designer as created by the VolumeAutomation.CurveDesigner.Create method |
nLeftX |
Horizontal position, expressed in percentage, of the left side control point of the Bézier curve |
nLeftY |
Vertical position, expressed in percentage, of the left side control point of the Bézier curve |
nRightX |
Horizontal position, expressed in percentage, of the right side control point of the Bézier curve |
nRightY |
Vertical position, expressed in percentage, of the right side control point of the Bézier curve |