MKI_BITMAP_EXPORT (Basic Classes) Changed in Version 2023.1

www.CAD6.com

C++ Syntax

class MKI_BITMAP_EXPORT

{

  public:

 

  __int32 m_nColorBits,

          m_nFileType,

          m_nPixelMode;

  MKI_INTVECTOR m_cPixel;

  __int32 m_nResolutionMode;

  MKI_VECTOR m_cResolution;

  __int32 m_nAntialiase,

          m_nOptions,

          m_nGamma;

 

  void

  Init( void );

};

 

This structure contains information for a bitmap export.

 

Element Description

ColorBits

[__int32] Number of color bits per pixel, usually 1, 4, 8, 24, or 32 (depending on the chosen bitmap type).

FileType

[__int32] Identifier of the file type the bitmap shall be written to (see MKI_BITMAPMODE_*).

PixelMode

[__int32] Defines how the bitmap size will be calculated (see MKI_BITMAPSIZE_*).

Pixel

[MKI_INTVECTOR] Contains the size of the bitmap in pixels to be used if PixelMode is 1 or 2.

ResolutionMode

[__int32] Determines how the values in Resolution shall be displayed in the dialog (see MKI_BITMAPRESOLUTION_*).

Resolution

[MKI_VECTOR] Resolution of the bitmap in pixels per millimeters (no matter what ResolutionMode is).

Antialiase

[__int32] Determines if 24 or 32 bit bitmaps shall be antialiased, i.e. smoothed by oversampling (see MKI_BITMAPANTIALIASING_*).

Options New in Version 2022.0

[__int32] Defines some bitmap export options, contains a bit-wise or combination of bitmap options (see MKI_BITMAPOPTION_*).

Gamma New in Version 2022.2

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

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH