[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.Surface1

Class Surface1

Namespace
GrapeCity.Documents.DX.DXGI
Assembly
GcDocs.DX.Windows.dll

IDXGISurface1

[Guid("4AE63092-6327-4c1b-80AE-BFE12EA32B86")]
public class Surface1 : Surface, IDisposable, IUnknown
Inheritance
Surface1
Implements
Derived
Inherited Members

Constructors

Surface1(IntPtr)

Initializes a new instance of the Surface1 class.

public Surface1(IntPtr nativePtr)

Parameters

nativePtr IntPtr

The native pointer.

Methods

GetDC(Bool)

HRESULT IDXGISurface1::GetDC([In] BOOL Discard,[Out] HDC* phdc)

public IntPtr GetDC(Bool discard)

Parameters

discard Bool

Returns

IntPtr

ReleaseDC()

Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D. The whole surface to be considered dirty.

public void ReleaseDC()

ReleaseDC(RectL)

Releases the GDI device context (DC) associated with the current surface and allows rendering using Direct3D.

public void ReleaseDC(RectL dirtyRect)

Parameters

dirtyRect RectL

ReleaseDC_(RectL?)

HRESULT IDXGISurface1::ReleaseDC([In, Optional] RECT* pDirtyRect)

public void ReleaseDC_(RectL? dirtyRectRef)

Parameters

dirtyRectRef RectL?

Operators

explicit operator Surface1(IntPtr)

Performs an explicit conversion from IntPtr to Surface1.

public static explicit operator Surface1(IntPtr nativePointer)

Parameters

nativePointer IntPtr

Returns

Surface1