![]() |
MKI_TransformReverseOneOutline (Entity Editing) Renamed in Version 2022.1 |
www.CAD6.com |
C++ SyntaxMKI_TransformReverseOneOutline( MKI_CONST_ENTITY_OBJECT_PTR f_pObjPtr1, MKI_ENTITY_OBJECT_PTR f_pObjPtr2, __int32 f_nSubIndex );
Transforms the given object into a similar object that contains the reversed drawing direction for one specified sub-contour of the original object. All non-geometric data stored in ObjPtr1 will be copied to ObjPtr2, especially all properties and attributes.
ParametersObjPtr1 [MKI_CONST_ENTITY_OBJECT_PTR] Address of the object whose contour shall be reversed. This object must be of one of the following types (see MKI_OBJ_*):
MKI_OBJ_LINE MKI_OBJ_ZIGZAG MKI_OBJ_CIRCLE MKI_OBJ_ARC MKI_OBJ_SECTOR MKI_OBJ_SEGMENT MKI_OBJ_ELLIPSE MKI_OBJ_EARC MKI_OBJ_ESECTOR MKI_OBJ_ESEGMENT MKI_OBJ_HATCH MKI_OBJ_CURVE MKI_OBJ_SURFACE MKI_OBJ_GEOCURVE MKI_OBJ_GEOSURFACE ObjPtr2 [MKI_ENTITY_OBJECT_PTR] Address of a buffer that shall receive the modified object. This buffer must be at least MKI_MaxEntityData() bytes large, and can e.g. be created using MKI_EntityBuffer(). The resulting object will be of one of the following types (see MKI_OBJ_*):
MKI_OBJ_LINE MKI_OBJ_ZIGZAG MKI_OBJ_ARC MKI_OBJ_SECTOR MKI_OBJ_SEGMENT MKI_OBJ_EARC MKI_OBJ_ESECTOR MKI_OBJ_ESEGMENT MKI_OBJ_HATCH MKI_OBJ_CURVE MKI_OBJ_SURFACE MKI_OBJ_GEOCURVE MKI_OBJ_GEOSURFACE SubIndex [__int32] Zero-based index of the contour that shall be reversed. If a curve or surface contains more than one contour and SubIndex is non-negative, only the contour with the given index is inverted. If SubIndex is negative, all contours will be reserved. For all other object types, SubIndex is ignored.
Return Value Changed in Version 2022.1Transformation result as a bitwise-or combination of flags (see MKI_RESULT_*).
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH