This is a small helper class which sets the specified DC to its constructor clipping region and then automatically destroys it in its destructor. Using it ensures that an unwanted clipping region is not left set on the DC.
No base class
Constructor: sets the clipping region for the given device context to the specified rectangle.
Destructor: destroys the clipping region set in the constructor.