tags:

views:

29

answers:

0

Hi All,

I am creating an application which has some of the features like a CAD application has like zooming, panning etc. I have a problem regarding drawing of entities as quickly as possible. I have double buffered the drawing to make it flicker free but I am stuck in clipping the region of the drawing that is I want to draw on those entities that comes in the bounding rect.

I have learnt from articles on internet & MSDN, how to solve this particular problem and I came out with Region clipping provided by MFC but I am unable to implement it in correct way so, please help me with this approach or if there is any other approach to do this process please let me help understand it.

Thanks, Pankaj