Win32.NativeWin32MemoryDc.NativeWin32MemoryDc C# (CSharp) Method

NativeWin32MemoryDc() public method

public NativeWin32MemoryDc ( int w, int h, bool invertImage = false ) : System
w int
h int
invertImage bool
return System
        public NativeWin32MemoryDc(int w, int h, bool invertImage = false)
        {
            this._width = w;
            this._height = h;

            memHdc = MyWin32.CreateMemoryHdc(
                IntPtr.Zero,
                w,
                invertImage ? -h : h, //***
                out dib,
                out ppvBits);
        }
        public IntPtr DC