FMX.Types.IControl.ScreenToLocal
Delphi
function ScreenToLocal(P: TPointF): TPointF;
C++
virtual System::Types::TPointF __fastcall ScreenToLocal(const System::Types::TPointF &P) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Transforms and returns a specified point from the screen perspective to the local perspective.
P
is the point to be transformed.
Implement LocalToScreen to transform P
from the screen perspective to the local perspective.