Vcl.OleCtrls.TOleControl.TransformCoords
Delphi
function TransformCoords(var ptlHimetric: TPoint; var ptfContainer: TPointF;
flags: Longint): HResult; stdcall;
C++
HRESULT __stdcall TransformCoords(Winapi::Windows::TPoint &ptlHimetric, System::Types::TPointF &ptfContainer, System::LongInt flags);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.OleCtrls.pas Vcl.OleCtrls.hpp |
Vcl.OleCtrls | TOleControl |
Description
Translates a set of coordinates.
Use TransformCoords to transform the OLE-style set of coordinates in the ptlHimetric record to a control-style set given by the ptfContainer record.