Bespoke Multi-Touch Framework
ToScaledRectangle Method (rectangle, horizontalScale, verticalScale)
NamespacesBespoke.MultiTouch.FrameworkFtirFrameToScaledRectangle(Rectangle, Single, Single)
Scale a rectangle.
Declaration Syntax
C#Visual BasicVisual C++
public static Rectangle ToScaledRectangle(
	Rectangle rectangle,
	float horizontalScale,
	float verticalScale
)
Public Shared Function ToScaledRectangle ( _
	rectangle As Rectangle, _
	horizontalScale As Single, _
	verticalScale As Single _
) As Rectangle
public:
static Rectangle ToScaledRectangle(
	Rectangle rectangle, 
	float horizontalScale, 
	float verticalScale
)
Parameters
rectangle (Rectangle)
The source rectangle to scale.
horizontalScale (Single)
The horizontal scaling factor.
verticalScale (Single)
The vertical scaling factor.
Return Value
The scaled rectangle.

Assembly: Bespoke.MultiTouch.Framework (Module: Bespoke.MultiTouch.Framework) Version: 4.1.0.0 (4.1.0.0)