Category Graphics and model display, Object ProGraphics

Function ProGraphicsColorSet


DEPRECATED: Since Wildfire 5.0
SUPERSEDED BY: ProGraphicsColorModify
Description
Changes the color used to draw any subsequent graphics.

NOTE:

This function is deprecated. Use ProGraphicsColorModify() instead.

Replacement in Object TOOLKIT: pfcDisplay::CurrentGraphicsColor
Synopsis
#include <ProGraphic.h>
ProErrorProGraphicsColorSet(
ProColortype new_color
/* (In)
The new color to use when drawing a graphics entity. The default color is white.
*/
ProColortype* p_old_color
/* (Out)
The previous color. May be NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully changed the color.
PRO_TK_NO_CHANGEThe current color is the same as the new color.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Displaying Graphics