FMX Change Coordinate System


I want to change Delphi FMX’s coordinate system (for visual controls like TImage, TPaintBox, etc) to use Cartesian coordinate system (Bottom Left)

How can I do this?

This is very basic for GDI:

HDC hDC = this->Canvas->Handle;
SetMapMode(hDC, MM_LOENGLISH); //Change coordinate system
SetViewportOrgEx(hDC, 300, 200, NULL); //Change origin

Coordinate point change sample for Delphi FMX:

Image1.Position.Point := PointF(250, 250);

Comments are closed.