Click or drag to resize

GdiExtensionMethodsAddScaled Method

Adds a scaled point to another point.

Namespace: Altaxo.Graph.Gdi
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static PointF AddScaled(
	this PointF p1,
	PointF p2,
	float s
)

Parameters

p1  PointF
The base point.
p2  PointF
The point to scale and add.
s  Single
The scale factor for p2.

Return Value

PointF
The resulting point.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PointF. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also