Jump to content
Sign in to follow this  
wuwuxin

FMX 2D drawing

Recommended Posts

I would like to use FMX 2D drawing to plot an engineering diagram (with user interactions) - I need advice on where to start. 

 

Any good FMX 2D drawing demo,  book, or tutorial?

 

Thank you.

Share this post


Link to post
Guest

Hi wuwuxin, the 3d scene environment, you can create a 2d environment by fixing the camera angle,
I think this is the best resource you can find.

 

https://www.youtube.com/user/QuarkCube/videos

 

even if I were you, I would back up the videos of that channel, you may not find it tomorrow.

I don't know exactly what you need but you can catch it yourself by browsing the videos. 

Thank you to.

Edited by Guest

Share this post


Link to post

If you’ve done any 2d drawing with VCL it’s not too dissimilar to that. If you need interactive drawing, use a TPaintBox component and write your drawing code in the onpaint event. This control can also detect mouse actions so that you can respond to events like mousedown, mouse up and mouse move.

 

https://stackoverflow.com/questions/40677671/how-to-draw-a-line-in-delphi-on-an-fmx-canvas

  • Like 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×