Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > HelperFunctions > Routines

ScaleRect(TRect,Integer,Integer) Method

Scroll Prev Top Next More

Scales the input rectangle, e.g., new width equals old width + DX and new height equals old height + DY.

noteNote

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

Parameters

ARect

Type: TRect

DX

Type: Integer

DY

Type: Integer

Return Value

Type: TRect

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb