Click or drag to resize

G2DCoordinateSystemLayerToLogicalCoordinates Method

Calculates from two coordinates of a point the logical values (values between 0 and 1). Returns true if the conversion is possible, otherwise false.

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

Parameters

xlocation  Double
The x coordinate of the converted value (for instance location).
ylocation  Double
The y coordinate of the converted value (for instance location).
r  Logical3D
The computed logical position value.

Return Value

Boolean
True if the conversion was successfull, false if the conversion was not possible. For 3D coordinate systems, the relative values of x and y with z=0 should be returned.
See Also