public int CreateCompatibleRenderTarget([NativeTypeName("const D2D1_SIZE_F *")] D2D_SIZE_F *desiredSize, [NativeTypeName("const D2D1_SIZE_U *")] D2D_SIZE_U *desiredPixelSize, [NativeTypeName("const D2D1_PIXEL_FORMAT *")] D2D1_PIXEL_FORMAT *desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, [NativeTypeName("ID2D1BitmapRenderTarget **")] ID2D1BitmapRenderTarget **bitmapRenderTarget)
 {
     return(((delegate * stdcall <ID2D1BitmapRenderTarget *, D2D_SIZE_F *, D2D_SIZE_U *, D2D1_PIXEL_FORMAT *, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS, ID2D1BitmapRenderTarget **, int>)(lpVtbl[12]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), desiredSize, desiredPixelSize, desiredFormat, options, bitmapRenderTarget));
 }
 public int CreateLayer([NativeTypeName("const D2D1_SIZE_F *")] D2D_SIZE_F *size, [NativeTypeName("ID2D1Layer **")] ID2D1Layer **layer)
 {
     return(((delegate * stdcall <ID2D1BitmapRenderTarget *, D2D_SIZE_F *, ID2D1Layer **, int>)(lpVtbl[13]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), size, layer));
 }
Example #3
0
 public int CreateLayer([NativeTypeName("const D2D1_SIZE_F *")] D2D_SIZE_F *size, ID2D1Layer **layer)
 {
     return(((delegate * unmanaged <ID2D1HwndRenderTarget *, D2D_SIZE_F *, ID2D1Layer **, int>)(lpVtbl[13]))((ID2D1HwndRenderTarget *)Unsafe.AsPointer(ref this), size, layer));
 }