This interface represents the radial color gradient.
More...
#include <IRadialColorGradient.h>
This interface represents the radial color gradient.
| virtual Result _FCMCALL DOM::Utils::IRadialColorGradient::GetFocalPoint |
( |
FCM::S_Int32 & |
focalPoint | ) |
|
|
pure virtual |
This function gets the focal point (meaningful only for radial interpolation). Focal point specifies the horizontal offset of the focal point from the transformation point.
- Parameters
-
| focalPoint | (OUT) Horizontal offset of the focal point from the transformation point. |
- Returns
- On success, FCM_SUCCESS is returned, else an error code is returned.
This function gets a specific key point in a color ramp. Each key point contains a color and its position in the gradient.
- Parameters
-
| index | (IN) The index of a particular key color. It can vary from 0 to GetKeyColorCount() - 1 |
| colorpoint | (OUT) The value of a color and its position in the color ramp. |
- Returns
- On success, FCM_SUCCESS is returned, else an error code is returned.
This function gets the number of key points in the gradient ramp. Each key point contains a color and its position in the gradient.
- Parameters
-
| nColors | (OUT) Number of points in the color ramp |
- Returns
- On success, FCM_SUCCESS is returned, else an error code is returned.
The documentation for this class was generated from the following file: