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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.