[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DXGI.ISurfaceImageSourceNative

Class ISurfaceImageSourceNative

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

ISurfaceImageSourceNative

[Guid("f2e9edc1-d307-4525-9886-0fafaa44163c")]
public class ISurfaceImageSourceNative : ComObject, IDisposable, IUnknown
Inheritance
object
ISurfaceImageSourceNative
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

ISurfaceImageSourceNative(IntPtr)

Initializes a new instance of the ISurfaceImageSourceNative class.

public ISurfaceImageSourceNative(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

BeginDraw(RectL, out Point2L, out Surface)

HRESULT ISurfaceImageSourceNative::BeginDraw([In] RECT updateRect,[Out] IDXGISurface** surface,[Out] POINT* offset)

public HResult BeginDraw(RectL updateRect, out Point2L offset, out Surface surface)

Parameters

updateRect RectL
offset Point2L
surface Surface

Returns

HResult

EndDraw()

HRESULT ISurfaceImageSourceNative::EndDraw()

public void EndDraw()

SetDevice(Device)

HRESULT ISurfaceImageSourceNative::SetDevice([In] IDXGIDevice* device)

public void SetDevice(Device device)

Parameters

device Device

Operators

explicit operator ISurfaceImageSourceNative(IntPtr)

Performs an explicit conversion from System.IntPtr to ISurfaceImageSourceNative.

public static explicit operator ISurfaceImageSourceNative(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

ISurfaceImageSourceNative