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));
 }
示例#2
0
 public int Resize([NativeTypeName("const D2D1_SIZE_U *")] D2D_SIZE_U *pixelSize)
 {
     return(((delegate * unmanaged <ID2D1HwndRenderTarget *, D2D_SIZE_U *, int>)(lpVtbl[58]))((ID2D1HwndRenderTarget *)Unsafe.AsPointer(ref this), pixelSize));
 }