PyCDC.CreateCompatibleDC

CreateCompatibleDC(dcFrom)

Creates a memory device context that is compatible with this DC.

Parameters

dcFrom=None : PyCDC

The source DC, or None to make a screen compatible DC.

Comments

Note that unlike the MFC version, this function calls the global CreateCompatibleDC function and returns a new PyCDC object.

MFC References

CDC::CreateCompatibleDC