Well this is what i intend to do:
I have a scene consisting of many objects(say squares , circles etc).
I need to be able to pick one object and move it around.
Well i tried this approach:
Define boundaries for each object.So i can identify which object is selected.And then when the selected object is dragged around , i redraw the entire scene with only the position of the selected object changing.
So i basically need to keep track of all drawn objects and redraw them again!
But is’nt this a bad method? I mean redrawing the entire scene over and over again!!
Can anyone please tell me if there is a better method to do this?
Thanks in advance.