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

f_cInputColor

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

f_cInputColorMode

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

f_cOutputColorMode

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

 

Return Value

The converted color in the color model determined by f_cOutputColorMode.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH