how can c# help in drawing using memory layers concept?

Posted by moon on Stack Overflow See other posts from Stack Overflow or by moon
Published on 2010-06-17T08:19:00Z Indexed on 2010/06/17 8:23 UTC
Read the original article Hit count: 266

Filed under:
|
|
|
|

hello all

i am facing problem in drawing dynamically in a picture box. i works very good when the drawing objects are few but as the drawing objects increases the response time of my GUI is getting worse and worse, my GUI works very well up to 90 drawing objects but i have to support more than 1000 so this technique didn't work for me.

know i have decided to adopt layers mechanism, i mean i will draw different layers of drawing in memory and then XOR them to load the final image to my display.

the question is "i Can play directly with memory do draw layers using C# (Examples needed?)"

other ideas are also appreciated,

(Drawing objects means the shapes line,circles etc. that i have to draw on my GUI)

thanx in advance

© Stack Overflow or respective owner

Related posts about c#

Related posts about Windows