Click or drag to resize

GraphicBaseRelativeToAbsolutePosition Method

Converts relative positions (0..1, 0..1) to absolute position of the rectangle, taking into account the current rotation.

Namespace: Altaxo.Graph.Gdi.Shapes
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public PointD2D RelativeToAbsolutePosition(
	PointD2D p,
	bool withRotation
)

Parameters

p  PointD2D
Relative coordinates of the rectangle (0,0 is the upper left corner, 1,1 is the lower right corner).
withRotation  Boolean
If true, the coordinates are calculated taking the rotation into account.

Return Value

PointD2D
The coordinates of this point.
See Also