Drawing in code

The key to FireMonkey cross-platform support is its rendering architecture. When you create a new multidevice project with Delphi, on the first page of the wizard you can choose an application type. This effectively just selects the type of the first form to add to a new app. You can choose Blank Application. This will add to the project a form inherited from TForm, which is a basic two-dimensional form. The second choice is 3D Application. This will add a form inherited from TForm3D. All other choices give you a TForm descendant with some additional controls already added. Check the following screenshot:

If you decide to add ...

Get Expert Delphi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.