![]() |
MKI_LINEMODE_* (Line Output Mode) Changed in Version 2020.0 |
www.CAD6.com |
Various line output handling modes. This value is a bit-wise OR combination of values.
Line Type OptimizationThe first part determines the line type optimization mode, and can be a bit-wise OR combination of the following values:
MKI_LINEMODE_OPTIMIZE_LOCAL Each separate element of a polyline or curve is optimized individually (default).
MKI_LINEMODE_OPTIMIZE_GLOBAL All elements of a polyline or curve are optimized as a whole.
Line Width DisplayThe second part determines the line width display mode, and can be a bit-wise OR combination of the following values:
MKI_LINEMODE_ZOOM_APPLY The line width of this object will reflect any line width scaling of superordinate mappings and/or instances (default). The line width is not limited.
MKI_LINEMODE_ZOOM_IGNORE The line width of this object will not be influenced by line width scaling of superordinate mappings and/or instances. The line width will automatically be limited to a maximum of 2.11 mm. In model space, line widths with this option set will be displayed zoom-independent. On a page, line widths with this option set will be displayed zoom-dependent. This option should be used when drawing model space objects in a layout with mappings using a noticeable scaling (such as 1:10 or above).
Line End CapsThe third part determines the form of line end caps and can be one of the following values (according to the Win32/x64 definitions used in the ExtCreatePen() command):
MKI_LINEMODE_CAP_ROUND End caps are round.
MKI_LINEMODE_CAP_SQUARE End caps are square.
MKI_LINEMODE_CAP_FLAT End caps are flat.
Line JoinsThe fourth part determines the line join mode and can be one of the following values (according to the Win32/x64 definitions used in the ExtCreatePen() command):
MKI_LINEMODE_JOIN_ROUND Joins are round.
MKI_LINEMODE_JOIN_BEVEL Joins are beveled.
MKI_LINEMODE_JOIN_MITER Joins are mitered when they are within the current limit. If it exceeds this limit, the join is beveled.
Bit-Masks for Easy AccessTo access the separate values, use the following bit-masks:
MKI_LINEMODE_OPTIMIZE_MASK Line type optimization mode bits.
MKI_LINEMODE_ZOOM_MASK Model space line width display zoom mode bits.
MKI_LINEMODE_CAP_MASK Line end cap form bits.
MKI_LINEMODE_JOIN_MASK Line join mode bits.
MKI_LINEMODE_LINE_MASKS Line end cap form and line join bits.
|
CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH