Table of Contents

Method CalcUnscrolledPositionI

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

CalcUnscrolledPositionI(PointI)

Translates the device coordinates to the logical ones.

public virtual PointI CalcUnscrolledPositionI(PointI point)

Parameters

point PointI

Device 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 CalcUnscrolledPosition(0, 0) will return 10 in y.