Category Geometry items, Object ProCurve

Function ProCurveColorSet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProCurvePersistentColorSet
Description
NOTE:

This function is deprecated. Use ProCurvePersistentColorSet() instead.

Sets the color of the specified curve, and returns the original color. Note:

In order to see the change made to the color, use the function ProDisplistInvalidate() on the owner model.

Synopsis
#include <ProCurve.h>
ProErrorProCurveColorSet(
ProCurve p_curve
/* (In)
The curve handle
*/
ProColortype new_color
/* (In)
The new color for the curve
*/
ProColortype* p_old_color
/* (Out)
The color of the curve before the change
*/
)
Returns
PRO_TK_NO_ERRORThe function completed successfully.
PRO_TK_BAD_INPUTSInvalid input argument(s).