Click or drag to resize

LinearPartitioningGetAbsolutePositionAndSizeFromGridIndexAndSpan Method

Gets the absolute start position and absolute size by providing a grid start index and grid span.

Namespace: Altaxo.Graph
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public void GetAbsolutePositionAndSizeFromGridIndexAndSpan(
	double totalSize,
	double gridIndex,
	double gridSpan,
	out double absoluteTilePosition,
	out double absoluteTileSize
)

Parameters

totalSize  Double
The total size of the partition.
gridIndex  Double
The grid index that designates the tile position.
gridSpan  Double
The grid span that designates the tile size.
absoluteTilePosition  Double
Result: the absolute position of the tile.
absoluteTileSize  Double
Result: the absolute size of the tile.
See Also