TLayerCollection.LocalToViewport

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

Description

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

See Also

Using Layers