Table of Contents

Method CalcScrolledPositionD

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

CalcScrolledPositionD(PointD)

Translates the logical coordinates to the device ones.

public virtual PointD CalcScrolledPositionD(PointD point)

Parameters

point PointD

Logical coordinates.

Returns

PointD

Remarks

For example, if a control is scrolled 10 pixels to the bottom, the device coordinates of the origin are (0, 0) (as always), but the logical coordinates are (0, 10) and so the call to CalcScrolledPosition(0, 10) will return 0 in y.