FMX.Controls.TControl.LocalToAbsoluteVector

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function LocalToAbsoluteVector(Vector: TVector): TVector; virtual;

C++

virtual System::Math::Vectors::TVector __fastcall LocalToAbsoluteVector(const System::Math::Vectors::TVector &Vector);

Properties

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

Description

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

Use LocalToAbsoluteVector to get the transposed coordinates of a vector 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 vector to be transformed.

LocalToAbsoluteVector returns the transformed vector.

To have the inverse effect over a vector, use AbsoluteToLocalVector.

See Also