Table of Contents

Method GetEffectRequiredInputRectangle

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

GetEffectRequiredInputRectangle(IDeviceContext, IDeviceEffect, in RectFloat?, in EffectInputDescription)

public static RectFloat GetEffectRequiredInputRectangle(this IDeviceContext deviceContext, IDeviceEffect renderEffect, in RectFloat? renderImageRectangle, in EffectInputDescription inputDescription)

Parameters

deviceContext IDeviceContext
renderEffect IDeviceEffect
renderImageRectangle RectFloat?
inputDescription EffectInputDescription

Returns

RectFloat

GetEffectRequiredInputRectangle(IDeviceContext, IDeviceEffect, in RectFloat?, IDeviceEffect, int, RectFloat)

public static RectFloat GetEffectRequiredInputRectangle(this IDeviceContext deviceContext, IDeviceEffect renderEffect, in RectFloat? renderImageRectangle, IDeviceEffect inputEffect, int inputEffectInputIndex, RectFloat inputRectangle)

Parameters

deviceContext IDeviceContext
renderEffect IDeviceEffect
renderImageRectangle RectFloat?
inputEffect IDeviceEffect
inputEffectInputIndex int
inputRectangle RectFloat

Returns

RectFloat