Show: Delphi C++
Display Preferences

FMX.Controls.TControl.AbsoluteToLocalVector

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual System::Math::Vectors::TVector __fastcall AbsoluteToLocalVector(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 absolute perspective to the local perspective.

Use AbsoluteToLocalVector to get the transposed coordinates of a vector from the absolute context to the local 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.

AbsoluteToLocalVector returns the transformed vector.

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

See Also

Personal tools
In Other Languages
Previous Versions
Assistance