Click or drag to resize

G2DCartesicCoordinateSystemLayerToLogicalCoordinates Method

Calculates from two layer coordinate values (in points usually) the relative coordinates of the point (between 0 and 1). Returns true if the conversion is possible, otherwise false.

Namespace: Altaxo.Graph.Gdi.CS
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public override bool LayerToLogicalCoordinates(
	double xlocation,
	double ylocation,
	out Logical3D r
)

Parameters

xlocation  Double
On return, gives the x coordinate of the converted value (for instance location).
ylocation  Double
On return, gives the y coordinate of the converted value (for instance location).
r  Logical3D
The logical coordinates as the result of conversion.

Return Value

Boolean
True if the conversion was successfull, false if the conversion was not possible.
See Also