|
MKI_ColorIdentical (Colors) New in Version 2026.0 |
www.CAD6.com |
C++ Syntaxbool MKI_ColorIdentical( MKI_COLORVALUE f_cColor1, MKI_COLORMODEL f_cColorMode1, MKI_COLORVALUE f_cColor2, MKI_COLORMODEL f_cColorMode2 );
Checks if both color definitions are (logically) identical. This means that they may have different models if the resulting colors are still identical (e.g. MKI_COLORMODE_RGB255 vs. MKI_COLORMODE_RGB100).
If this comparison would require a conversion based on color profiles (such as CMYK to RGB), the result will always be false since such a conversion may yield different results on individual computers based on locally installed color profiles.
Parametersf_cColor1 [MKI_COLORVALUE] First color to be compared in the notation defined by f_cColorMode1. f_cColorMode1 [MKI_COLORMODEL] This value determines how the content of f_cColor1 is to be interpreted (see MKI_COLORMODE_*). f_cColor2 [MKI_COLORVALUE] Second color to be compared in the notation defined by f_cColorMode2. f_cColorMode2 [MKI_COLORMODEL] This value determines how the content of f_cColor2 is to be interpreted (see MKI_COLORMODE_*).
Return ValueReturns true if affirmative.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH