Show: Delphi C++
Display Preferences

FMX.Types.TControl.LocalToAbsolute

From XE2 API Documentation
Jump to: navigation, search

Delphi

function LocalToAbsolute(P: TPointF): TPointF; virtual;

C++

virtual System::Types::TPointF __fastcall LocalToAbsolute(const System::Types::TPointF &P);

Properties

Type Visibility Source Unit Parent
function public
FMX.Types.pas
FMX.Types.hpp
FMX.Types TControl

Description

Transforms and returns a specified point from the local perspective to the absolute perspective.

Use LocalToAbsolute to get the transposed coordinates of a point from the local context to the absolute context of the current control. The absolute context for a control is the parent form area, and the local context is the control area.

P is the point to be transformed.

LocalToAbsolute returns the transformed point.

To have the inverse effect over a point, use AbsoluteToLocal.

See Also

Personal tools
Previous Versions
Translations