pgnanaprakash
June 16th, 2004, 11:26 AM
Hi Friends,
Currently i am developing Graphical editor application. In this i have to store the all drawn objects in the ptrlist. Whenever the new object will be drawn then entire list will be refreshed (i.e., redarw the whole things again)... so if the number of objects are increased, this logic mostly affects the performance. For avoiding that i got one pattern from the net "Invalidation/Redraw -- A Graphical Interface Pattern" (http://www.flowerfire.com/cs497rej/et++/InvalidationRedraw.html)
But i don't know how to implement this pattern in VC++. Let me know if anyone knows about this pattern implementation in vc++.
Regards,
Prakash
Currently i am developing Graphical editor application. In this i have to store the all drawn objects in the ptrlist. Whenever the new object will be drawn then entire list will be refreshed (i.e., redarw the whole things again)... so if the number of objects are increased, this logic mostly affects the performance. For avoiding that i got one pattern from the net "Invalidation/Redraw -- A Graphical Interface Pattern" (http://www.flowerfire.com/cs497rej/et++/InvalidationRedraw.html)
But i don't know how to implement this pattern in VC++. Let me know if anyone knows about this pattern implementation in vc++.
Regards,
Prakash