[Overview][Types][Procedures and functions][Index] |
Rotates a rectangle with the specified dimensions by the specified angle (in radians).
Source position: graphmath.pp line 105
function RotateRect( |
AWidth: Integer; |
AHeight: Integer; |
AAngle: Double |
):TRect; |
AWidth |
|
Width for the rectangle. |
AHeight |
|
Height for the rectangle. |
AAngle |
|
Rotation angle in radians. |
The smallest TRect which contains the rotated rectangle.
Rotates the rectangle (0, 0, AWidth, AHeight) around its top-left corner (0,0) by the angle in AAngle (in radians). Note that y points downwards.
Version 4.0 | Generated 2025-05-03 | Home |