You are here: Start » AVL.NET » Invoke.RescaleRectangle

Invoke.RescaleRectangle

Changes the corners and the dimensions of a rectangle.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void RescaleRectangle
(
	Avl.Rectangle2D inRectangle,
	Optional<Avl.Point2D> inReferencePoint,
	float inScale,
	bool inInverse,
	out Avl.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvl.Rectangle2D
inReferencePointAtl.Optional<Avl.Point2D>The point, to which all distance will be changed proportionally. Default value: atl::NIL.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outRectangleAvl.Rectangle2D

See also