[]
        
(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
object
Surface1
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Surface1(IntPtr)

Initializes a new instance of the Surface1 class.

public Surface1(IntPtr nativePtr)

Parameters

nativePtr System.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

System.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?)

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

public void ReleaseDC_(RectL? dirtyRectRef)

Parameters

dirtyRectRef RectL?

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

Operators

explicit operator Surface1(IntPtr)

Performs an explicit conversion from System.IntPtr to Surface1.

public static explicit operator Surface1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Surface1