API Reference > Functions > odcmLookupRGB Function
odcmLookupRGB Function
Syntax
C++
FIRSTDLL_EXPORT ODCOLORREF odcmLookupRGB(int index, const ODCOLORREF* pPalette);

ColorMapping.h

Parameters 
Description 
const ODCOLORREF* pPalette 
[in] Palette to perform mapping.  

RGB valued for the given color index.

Returns RGB for given color index pPalette - palette to perform mapping

  • details Gets the RGB values for a given color index.
 

Copyright © 2002–2022. Open Design Alliance. All rights reserved.