Пример #1
0
 public int CreateDxgiSurfaceRenderTarget([NativeTypeName("IDXGISurface *")] IDXGISurface *dxgiSurface, [NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, [NativeTypeName("ID2D1RenderTarget **")] ID2D1RenderTarget **renderTarget)
 {
     return(((delegate * stdcall <ID2D1Factory3 *, IDXGISurface *, D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **, int>)(lpVtbl[15]))((ID2D1Factory3 *)Unsafe.AsPointer(ref this), dxgiSurface, renderTargetProperties, renderTarget));
 }
Пример #2
0
 public int CreateHwndRenderTarget([NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, [NativeTypeName("const D2D1_HWND_RENDER_TARGET_PROPERTIES *")] D2D1_HWND_RENDER_TARGET_PROPERTIES *hwndRenderTargetProperties, [NativeTypeName("ID2D1HwndRenderTarget **")] ID2D1HwndRenderTarget **hwndRenderTarget)
 {
     return(((delegate * stdcall <ID2D1Factory3 *, D2D1_RENDER_TARGET_PROPERTIES *, D2D1_HWND_RENDER_TARGET_PROPERTIES *, ID2D1HwndRenderTarget **, int>)(lpVtbl[14]))((ID2D1Factory3 *)Unsafe.AsPointer(ref this), renderTargetProperties, hwndRenderTargetProperties, hwndRenderTarget));
 }
Пример #3
0
 public int CreateWicBitmapRenderTarget([NativeTypeName("IWICBitmap *")] IWICBitmap *target, [NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, [NativeTypeName("ID2D1RenderTarget **")] ID2D1RenderTarget **renderTarget)
 {
     return(((delegate * stdcall <ID2D1Factory3 *, IWICBitmap *, D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **, int>)(lpVtbl[13]))((ID2D1Factory3 *)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget));
 }
 public BOOL IsSupported([NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties)
 {
     return(((delegate * unmanaged <ID2D1HwndRenderTarget *, D2D1_RENDER_TARGET_PROPERTIES *, int>)(lpVtbl[56]))((ID2D1HwndRenderTarget *)Unsafe.AsPointer(ref this), renderTargetProperties));
 }
Пример #5
0
 public int CreateDCRenderTarget([NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, [NativeTypeName("ID2D1DCRenderTarget **")] ID2D1DCRenderTarget **dcRenderTarget)
 {
     return(((delegate * unmanaged <ID2D1Factory5 *, D2D1_RENDER_TARGET_PROPERTIES *, ID2D1DCRenderTarget **, int>)(lpVtbl[16]))((ID2D1Factory5 *)Unsafe.AsPointer(ref this), renderTargetProperties, dcRenderTarget));
 }
Пример #6
0
 public HRESULT CreateWicBitmapRenderTarget(IWICBitmap *target, [NativeTypeName("const D2D1_RENDER_TARGET_PROPERTIES *")] D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget)
 {
     return(((delegate * unmanaged <ID2D1Factory2 *, IWICBitmap *, D2D1_RENDER_TARGET_PROPERTIES *, ID2D1RenderTarget **, int>)(lpVtbl[13]))((ID2D1Factory2 *)Unsafe.AsPointer(ref this), target, renderTargetProperties, renderTarget));
 }