![]() |
MKI_FileReadColor (File I/O) Changed in Version 2015.0 |
www.CAD6.com |
C++ Syntaxvoid MKI_FileReadColor( MKI_COLORVALUE_REF f_rColor, MKI_COLORMODEL_PTR f_pColorMode );
Tries to read a color definition from the read cache.
ParametersColor [MKI_COLORVALUE_REF] Address of the definition of the color to be read. ColorMode New in Version 6.60 [MKI_COLORMODEL_PTR] Address of the color mode of the color to be read (see MKI_COLORMODE_*). If nullptr, a color without color mode information in RGB100 format will be read.
Return ValueNone, but if a read error occurs, the return value of MKI_FileReadError will be set to true. Once a read error occurred, all further calls to any read procedure will be ignored (i.e. return false).
CommentThis procedure relies on a high-performance read cache previously established by either MKI_FileReadInitDisk, MKI_FileReadInitDiskOffset or MKI_FileReadInitMemory. As a result, it will fail if this cache is currently not activated!
The behavior of this procedure depends on the settings of MKI_FileReadDelimiters!
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH