Scales the input rectangle, e.g., new width equals old width + DX and new height equals old height + DY.
Note |
---|
The scaling of the rectangle does not change the center point of the rectangle, i.e., half of DX is subtracted from the left and half is added to the right. |
Namespace: HelperFunctions
Delphi |
function ScaleRect( ARect: TRect; DX, DY: Integer ): TRect; |
Parameters
ARect
Type: TRect
DX
Type: Integer
DY
Type: Integer
Type: TRect
Reference |