Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AppmethodCode SnippetComponentDelphiFiremonkeyIOS

Native Paint API Demo App With Delphi XE5 Firemonkey For IOS

Delphi XE5 Firemonkey Paint Demo IOSIf you’re looking to use native components on IOS to build your apps one solution is the DPF IOS suite. The components in the suite actually wrap the native IOS controls just like the Delphi VCL wraps the native Windows controls. One benefit to using the native controls is that they are really fast and one drawback is that you can’t mix visual Delphi XE5 Firemonkey controls and DPF controls on the same form. In any event the DPF IOS controls come with a demo called Painter and it demonstrates how to use the DPF IOS controls to create an app like Painter that does native drawing. Painter only has one draw function which is to draw rectangles and it has a slider at the bottom which controls line with. However, you should be able to add other drawing types pretty easily once you take a look at the draw rectangle source code. DPF IOS is a pretty mature framework and has been in development since May of 2013. Here is the sample draw rect function from the demo:

Head over and download the DPF IOS suite for Delphi XE5 and check out the Painter demo.

close

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

DelphiIDEShowcaseWindows

Ryzen 9 5950x: One Billion Lines Of Delphi Code Compiled In ~5 Minutes On 16 Cores

DelphiFiremonkeyIDEIOSOSXWindows

DelphiCon 2020 FireMonkey Sessions Available Starting November 19

AndroidC++BuilderDelphiDemoFiremonkeyWindows

Powerful Commercial Gorilla3D Framework Upgraded For Delphi FireMonkey On Windows And Android

Sign up for our Newsletter and
stay informed

Leave a Reply