public void SetInputEffect([NativeTypeName("UINT32")] uint index, ID2D1Effect *inputEffect, [Optional, DefaultParameterValue(1)] BOOL invalidate) { ID2D1Image *output = null; if (inputEffect != null) { inputEffect->GetOutput(&output); } SetInput(index, output, invalidate); if (output != null) { _ = output->Release(); } }
public void SetInputEffect([NativeTypeName("UINT32")] uint index, [NativeTypeName("ID2D1Effect *")] ID2D1Effect *inputEffect, [NativeTypeName("BOOL")] int invalidate = 1) { ID2D1Image *output = null; if (inputEffect != null) { inputEffect->GetOutput(&output); } SetInput(index, output, invalidate); if (output != null) { output->Release(); } }
public int DrawImage(ID2D1Image *image, [NativeTypeName("const D2D1_POINT_2F *")] D2D_POINT_2F *targetOffset, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F *imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode, D2D1_COMPOSITE_MODE compositeMode) { return(((delegate * unmanaged <ID2D1CommandSink1 *, ID2D1Image *, D2D_POINT_2F *, D2D_RECT_F *, D2D1_INTERPOLATION_MODE, D2D1_COMPOSITE_MODE, int>)(lpVtbl[18]))((ID2D1CommandSink1 *)Unsafe.AsPointer(ref this), image, targetOffset, imageRectangle, interpolationMode, compositeMode)); }
public HRESULT BlendImage(ID2D1Image *image, D2D1_BLEND_MODE blendMode, [NativeTypeName("const D2D1_POINT_2F *")] D2D_POINT_2F *targetOffset, [NativeTypeName("const D2D1_RECT_F *")] D2D_RECT_F *imageRectangle, D2D1_INTERPOLATION_MODE interpolationMode) { return(((delegate * unmanaged <ID2D1CommandSink5 *, ID2D1Image *, D2D1_BLEND_MODE, D2D_POINT_2F *, D2D_RECT_F *, D2D1_INTERPOLATION_MODE, int>)(lpVtbl[34]))((ID2D1CommandSink5 *)Unsafe.AsPointer(ref this), image, blendMode, targetOffset, imageRectangle, interpolationMode)); }
public void SetImage([NativeTypeName("ID2D1Image *")] ID2D1Image *image) { ((delegate * stdcall <ID2D1ImageBrush *, ID2D1Image *, void>)(lpVtbl[8]))((ID2D1ImageBrush *)Unsafe.AsPointer(ref this), image); }
public void SetInput([NativeTypeName("UINT32")] uint index, [NativeTypeName("ID2D1Image *")] ID2D1Image *input, [NativeTypeName("BOOL")] int invalidate = 1) { ((delegate * unmanaged <ID2D1Effect *, uint, ID2D1Image *, int, void>)(lpVtbl[14]))((ID2D1Effect *)Unsafe.AsPointer(ref this), index, input, invalidate); }
public void SetImage(ID2D1Image *image) { ((delegate * unmanaged <ID2D1ImageBrush *, ID2D1Image *, void>)(lpVtbl[8]))((ID2D1ImageBrush *)Unsafe.AsPointer(ref this), image); }
public int WriteThumbnail(ID2D1Image *pImage, IWICBitmapEncoder *pEncoder, [NativeTypeName("const WICImageParameters *")] WICImageParameters *pImageParameters) { return(((delegate * unmanaged <IWICImageEncoder *, ID2D1Image *, IWICBitmapEncoder *, WICImageParameters *, int>)(lpVtbl[5]))((IWICImageEncoder *)Unsafe.AsPointer(ref this), pImage, pEncoder, pImageParameters)); }
public int WriteFrame([NativeTypeName("ID2D1Image *")] ID2D1Image *pImage, [NativeTypeName("IWICBitmapFrameEncode *")] IWICBitmapFrameEncode *pFrameEncode, [NativeTypeName("const WICImageParameters *")] WICImageParameters *pImageParameters) { return(((delegate * unmanaged <IWICImageEncoder *, ID2D1Image *, IWICBitmapFrameEncode *, WICImageParameters *, int>)(lpVtbl[3]))((IWICImageEncoder *)Unsafe.AsPointer(ref this), pImage, pFrameEncode, pImageParameters)); }
public void SetInput([NativeTypeName("UINT32")] uint index, ID2D1Image *input, [Optional, DefaultParameterValue(1)] BOOL invalidate) { ((delegate * unmanaged <ID2D1Effect *, uint, ID2D1Image *, BOOL, void>)(lpVtbl[14]))((ID2D1Effect *)Unsafe.AsPointer(ref this), index, input, invalidate); }