CalcRectangle (class MKI_ENUMDEF_DATA) New in Version 2025.0

www.CAD6.com

C++ Syntax

bool

MKI_ENUMDEF_DATA::CalcRectangle(

 MKI_RECT_REF f_rRect );

 

Roughly calculates the surrounding rectangle of the given enumeration data.

 

The result may be a bit too large since, for better performance, arcs and curves are calculated based on Bézier curve pivot points only, not the actual arc and curve outlines.

 

Parameters

Rect

[MKI_CONST_RECT_REF] Address of a rectangle to received the calculated surrounding rectangle.

 

Return Value

Returns true if successful.

 

Comment

Only the enumeration types MKI_ENUMDATA_CURVE, MKI_ENUMDATA_SURFACE, and MKI_ENUMDATA_HYPERLINK are supported!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH