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.
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.
Syntax
[Visual Basic] Public Delegate Sub CallbackCurveDesignerPointsChange ( nDesignerUniqueId as Int32, nLeftX as Int16, nLeftY as Int16, nRightX as Int16, 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 Effects.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 |