ViewportToLocal

Graphics32

TLayerCollection.ViewportToLocal

function ViewportToLocal(const APoint: TFloatPoint; AScaled: Boolean): TFloatPoint;

Description

Transforms a given point (APoint) from the viewport's coordinate system to the local coordinate system and returns the result. If AScaled is False the output is equal to the input point.

See Also

Using Layers