TLayer32.MakeRelative

function MakeRelative(const pt: TPoint); overload;

function MakeRelative(const rec: TRect); overload;


Converts a TPoint or TRect value that was relative to a TLayeredImage32 container to a TPoint or TRect value that's relative to the layer object.

For an example see the sample application Layers301.

See Also

MakeAbsolute, TLayeredImage32