MKI_ColorConvertMode (Colors) Renamed in Version 2020.0

www.CAD6.com

C++ Syntax

MKI_COLORVALUE

MKI_ColorConvertMode(

 MKI_COLORVALUE f_cInputColor,

 MKI_COLORMODEL f_cInputColorMode,

 MKI_COLORMODEL f_cOutputColorMode );

 

Converts a given color to another color model.

 

Parameters

InputColor

[MKI_COLORVALUE] Input color to be converted in the notation defined by InputColorMode..

InputColorMode

[MKI_COLORMODEL] This value determines how the content of InputColor is to be interpreted (see MKI_COLORMODE_*).

OutputColorMode

[MKI_COLORMODEL] Determines the color model to be used for the returned color (see MKI_COLORMODE_*). If OutputColorMode is equal to InputColorMode, no color model conversion will be applied.

 

Return Value

The converted color in the color model determined by OutputColorMode.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH