Reputation: 11768
I am developing an interactive CD most of my life I wrote console applications writing something mostly graphical is akward for me.
So here is my approach :
I am drawing on the canavas using shapes and images the left and top position are stored in a file. Is there any easier approach ? I thought using shapes objects would simplify my work what do you guys think ?
Any examples are welcome.
If you consider this question subjective please vote for closing.
Upvotes: 0
Views: 2244
Reputation: 2079
I recommend the Delphi GDI+ Library which I have used with success. It's a wrapper around GDI+ which takes alot of the pain out of it.
Upvotes: 0
Reputation: 24096
Since you didn't specify a any version, I assume you're not wasting your time with an ancient Delphi, so maybe you should also take a look at FireMonkey.
That also opens the door to having your interactive stuff work on other platforms..
Upvotes: 1
Reputation: 109002
The proper way is to write an OnPaint
handler (that is, listening to the WM_PAINT
message) and drawing using the GDI.
Here are a couple of simple examples:
Drawing by moving controls is very awkward.
Upvotes: 3