|
|
|
CalcRotatedSize Method, GenericPartClass Class |
Calculates the size of the smallest rectangle that can contain the rotated rectangle of a given size, based on the part's Angle property.
Syntax GenericPartClass Class (Softelvdm.Controls)
VB |
Protected Function CalcRotatedSize( ByVal szf As SizeF ) As SizeF |
C# |
protected SizeF CalcRotatedSize( SizeF szf ); |
C++ |
protected: SizeF CalcRotatedSize( SizeF szf ); |
szf
The size of the rectangle for which the containing, rotated rectangle size is to be determined.
Return Value
The size of the smallest containing rectangle.
Comments
The CalcRotatedSize method calculates the size of the smallest rectangle that can contain the rotated rectangle of a given size, based on the part's Angle property.
This function is typically used to determine the rectangular space occupied by a rotated part.
Version Information
Supported in version 1.0.
Products Table