Click or drag to resize
ColorMatrixEffectGetRequiredSourceRectangles Method
Queries what parts of the effect source images are needed to draw an output region.

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Rect[] GetRequiredSourceRectangles(
	ICanvasResourceCreatorWithDpi resourceCreator,
	Rect outputRectangle,
	ICanvasEffect[] sourceEffects,
	uint[] sourceIndices,
	Rect[] sourceBounds
)

Parameters

resourceCreator
Type: Microsoft.Graphics.CanvasICanvasResourceCreatorWithDpi
outputRectangle
Type: Windows.FoundationRect
sourceEffects
Type: Microsoft.Graphics.Canvas.EffectsICanvasEffect
sourceIndices
Type: SystemUInt32
sourceBounds
Type: Windows.FoundationRect

Return Value

Type: Rect

Implements

ICanvasEffectGetRequiredSourceRectangles(ICanvasResourceCreatorWithDpi, Rect, ICanvasEffect, UInt32, Rect)
Remarks
This method is similar to GetRequiredSourceRectangle(ICanvasResourceCreatorWithDpi, Rect, ICanvasEffect, UInt32, Rect), but can query multiple sources at the same time.
See Also