Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdCmEntityColor::lookUpACI Method
Syntax
C++
static OdUInt8 lookUpACI(OdUInt8 red, OdUInt8 green, OdUInt8 blue);

Converts the RGB value specified by the red, green, and blue components to an ACI value. 

 

Parameters
Description
red
[in] Red component an an integer value in the range from 0 to 255.
green
[in] Green component an an integer value in the range from 0 to 255.
blue
[in] Blue component an an integer value in the range from 0 to 255.

For converting, this method uses the default palette specified by the mLUT static array and returns the color index without color method as an integer value in the range from 0 to 257.

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