|
MKI_FileWriteColor (File I/O) Changed in Version 6.60 |
www.CAD6.com |
C++ Syntaxvoid MKI_FileWriteColor( MKI_COLORVALUE f_cColor, MKI_COLORMODEL f_cColorMode );
Writes a color definition to the current write cache.
ParametersColor [MKI_COLORVALUE] Definition of the color to be written. ColorMode New in Version 6.60 [MKI_COLORMODEL] Color mode of the color to be written (see MKI_COLORMODE_*). If the color mode if 0xFF, the color will be written without color mode information in RGB100 format.
Return ValueNone, but if a write error occurs, the return value of MKI_FileWriteError will be set to true. Once a write error occurred, all further calls to any write procedure will be ignored (i.e. return false).
CommentThis procedure relies on a high-performance write cache previously established by either MKI_FileWriteInitNull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory. As a result, it will fail if this cache is currently not activated!
The behavior of this procedure depends on the settings of MKI_FileWriteDelimiters and MKI_FileWriteZeros!
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH