Function Name: Convert Color Data To Fields

Definition

Converts the given SE_COLOR_DATA to the fields of the corresponding Color Data subclass.

Returns

SE_DRM_SUCCESS - and *fields_ptr is updated, if valid parameters were passed in and all operations succeeded.

SE_DRM_NULL_REQUIRED_PARAMETER - and no changes are made, if color_ptr or fields_ptr is NULL.

SE_DRM_FAILURE - and no changes are made, if color_ptr->color_model is invalid.

Prototype


extern SE_DRM_STATUS_CODE_ENUM
SE_ConvertColorDataToFields
(
constSE_COLOR_DATA *color_ptr, (notes)
SE_FIELDS *fields_ptr (notes)
);

Parameters Notes

color_ptr

 SE_COLOR_DATA to be copied.

fields_ptr

 pointer to SE_FIELDS to receive the output.

Prev: Compare Property Data Values. Next: Convert Coord To Fields. Up:Index.