Category Graphics and model display, Object ProColormap

Function ProColormapGet


Description
Retrieves the RGB values for the specified color value.
Replacement in Object TOOLKIT: pfcBaseSession::GetRGBFromStdColor
Synopsis
#include <ProColor.h>
ProErrorProColormapGet(
ProColortype color_type
/* (In)
The color type
*/
ProColormap* color
/* (Out)
The RGB value
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully retrieved the RGB values.
PRO_TK_BAD_INPUTSEither the color identifier is invalid or the color is NULL.

Manual References:

  1. Pro/DEVELOP to Creo Toolkit Function Mapping: Equivalent Pro/DEVELOP Functions
  2. User Interface: Basic Graphics: Setting Colors to Match Existing Entities

Sample Code References:

  1. pt_examples ( TestGraphics.c )