public virtual void FillOpacityMask( ID2D1Bitmap opacityMask, ID2D1Brush brush, D2D1_OPACITY_MASK_CONTENT content, ref System.Numerics.Vector4 destinationRectangle, ref System.Numerics.Vector4 sourceRectangle ) { var fp = GetFunctionPointer(25); if (m_FillOpacityMaskFunc == null) { m_FillOpacityMaskFunc = (FillOpacityMaskFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(FillOpacityMaskFunc)); } m_FillOpacityMaskFunc(m_ptr, opacityMask != null ? opacityMask.Ptr : IntPtr.Zero, brush != null ? brush.Ptr : IntPtr.Zero, content, ref destinationRectangle, ref sourceRectangle); }
public void FillOpacityMask([NativeTypeName("ID2D1Bitmap *")] ID2D1Bitmap *opacityMask, [NativeTypeName("ID2D1Brush *")] ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F *destinationRectangle = null, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F *sourceRectangle = null) { ((delegate * stdcall <ID2D1BitmapRenderTarget *, ID2D1Bitmap *, ID2D1Brush *, D2D1_OPACITY_MASK_CONTENT, D2D_RECT_F *, D2D_RECT_F *, void>)(lpVtbl[25]))((ID2D1BitmapRenderTarget *)Unsafe.AsPointer(ref this), opacityMask, brush, content, destinationRectangle, sourceRectangle); }