Table of Contents

Method CalcScrolledPositionI

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

CalcScrolledPositionI(PointI)

Translates the logical coordinates to the device ones.

public virtual PointI CalcScrolledPositionI(PointI point)

Parameters

point PointI

Logical coordinates.

Returns

PointI

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.