|
-
Mar 11th, 2007, 09:43 PM
#1
Thread Starter
Addicted Member
[2005] GDI+ question, Image VS Graphics object
If I want to draw an object that have to update frequently, should I use an image and update it's location, or I draw it with GDI+ ? Which one you would recommend and why?
Let me give you an example.
Suppose I want to make an analog clock. However, I don't want to just use lines. To make it more complex and nicer, I want to use a rectangle for it arms. A perfect example for this case is Clock from windows sidebar on Vista.
I will divine into 2 parts, background and it's arm. The main reason for this problem, is performance. Imagine that you have a form which display multiple analog clock displaying time in several countries.
So, here's the question:
1. For background: Should I use a fixed background (with an image), or drawing with GDI+ ?
2. For it arms. Should I use an image and update it's location periodically, or draw them completely with GDI+ ?
For those questions, please tell me your opinion about what shoud I use and why.
Regards
Michael
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|