MKI_BITMAP_EFFECT (Basic Classes) New in Version 2024.1

www.CAD6.com

C++ Syntax

class MKI_BITMAP_EFFECT

{

  public:

 

  __int32 m_nGamma,

          m_nBrightness,

          m_nContrast,

          m_nIntensity,

          m_nDisplayMode;

  MKI_COLORVALUE m_cMaskColor;

 

  void

  Init( void );

};

 

This structure contains settings for bitmap display effects.

 

Element Description

Gamma

[__int32] Gamma index for live image processing. Resulting gamma value is 10^(Gamma/100). Allowed values are -100 to 100 (resulting in gamma values of 0.1 to 10.0).

Brightness

[__int32] Relative brightness for live image processing in percent. Allowed values are -100 to 100. Negative values make the image darker, positive values make the image lighter.

Contrast

[__int32] Relative contrast for live image processing in percent. Allowed values are -100 to 100. Negative values reduce the contrast, positive values increase the contrast.

Intensity

[__int32] Relative intensity for live image processing in percent. Allowed values are -100 to 100. Negative values make the image paler, positive values make the image more intense.

DisplayMode

[__int32] Display mode for the bitmap (see MKI_BITMAPDISPLAY_*).

MaskColor

[MKI_COLORVALUE] Transparent color of the bitmap in RGB notation (only used if MKI_BITMAPDISPLAY_MASK is set in DisplayMode).

 

MKD Syntax

Unused.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH