WinapiExtension
 All Classes Files Functions Variables Typedefs Pages
Public Member Functions | List of all members
SaveRestoreDC Class Reference

Wraps SaveDC in an object oriented way. More...

#include <gdi.h>

Public Member Functions

 SaveRestoreDC (HDC pDC)
 

Detailed Description

Wraps SaveDC in an object oriented way.

Create this on the stack before making changes to a DC. The dtor will reverse the changes when the saved state goes out of scope.

Constructor & Destructor Documentation

SaveRestoreDC::SaveRestoreDC ( HDC  pDC)
inline

The documentation for this class was generated from the following file: