MKI_MULTI_CLIP (Multi-Entity Editing Classes) Renamed and changed in Version 2023.1

www.CAD6.com

C++ Syntax

class MKI_MULTI_CLIP : public MKI_MULTI_BASE

{

  public:

 

  MKI_VECTOR m_cScaling;

  double m_dRotation,

         m_dDistortion,

  MKI_POINT m_cPointUnits;

  __int32 m_nDisplayMode;

  MKI_HIDELAYERS m_afHideLayers;

 

  void

  Init( void ); New in Version 2023.1

 

  void

  Fill(

 MKI_CONST_ENTITY_CLIP_PTR f_pClip ); New in Version 2023.1

 

  void

  Apply(

 MKI_ENTITY_CLIP_PTR f_pClip,

 bool f_fCopyAll ) const; New in Version 2023.1

};

 

This structure contains clipping surface properties to be edited in a dialog window.

 

Element Description

m_nScaling

[MKI_VECTOR] Horizontal and vertical scaling of the clipping surface.

m_dRotation

[double] Rotation of the clipping surface in [rad].

m_dDistortion

[double] Distortion of the clipping surface in [rad].

m_cPointUnits New in Version 2023.1

[MKI_POINT] X and Y coordinate of the clipping surface’s insertion point in current length units (not in internal millimeters).

m_nDisplayMode

[__int32] Bit-wise OR combination of some flags indicating the display mode for the clipping surface. Possible values are (see MKI_DISPLAYMODE_*):

MKI_DISPLAYMODE_DEFAULT

MKI_DISPLAYMODE_SCALED_WIDTH

MKI_DISPLAYMODE_NOPOINTS

MKI_DISPLAYMODE_NOSNAP

MKI_DISPLAYMODE_SCALED_LENGTH

MKI_DISPLAYMODE_NO_SMOOTHING New in Version 2015.2

MKI_DISPLAYMODE_NOHIDE New in Version 2021.1

m_afHideLayers

[MKI_HIDELAYERS] This array contains one bit for each layer indicating if the layer shall be output or not.

 

Comment

When using functions of the base class MKI_MULTI_BASE, use the following flags defined in this class to identify its elements:

 

USE_XSCALE

Apply the horizontal scaling m_cScaling.vx.

 

USE_YSCALE

Apply the vertical scaling m_cScaling.vy.

 

USE_ROTATION

Apply the rotation m_dRotation.

 

USE_DISTORTION

Apply the distortion m_dDistortion.

 

USE_XPOS

Apply the insert point’s X-coordinate m_cPosition.x.

 

USE_YPOS

Apply the insert point’s Y-coordinate m_cPosition.y.

 

USE_SCALEDWIDTH

Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_WIDTH.

 

USE_NOPOINTS

Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOPOINTS.

 

USE_NOSNAP

Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOSNAP.

 

USE_HIDELAYERS

Apply the hidden layer information m_afHideLayers.

 

USE_SCALEDLENGTH

Apply the m_nDisplayMode bit MKI_DISPLAYMODE_SCALED_LENGTH.

 

USE_NOHIDE

Apply the m_nDisplayMode bit MKI_DISPLAYMODE_NOHIDE.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH