Click or drag to resize
PointDiffuseEffect.GetRequiredSourceRectangles 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.Canvas.ICanvasResourceCreatorWithDpi
outputRectangle
Type: Windows.Foundation.Rect
sourceEffects
Type:Microsoft.Graphics.Canvas.Effects.ICanvasEffect[]
sourceIndices
Type:System.UInt32[]
sourceBounds
Type:Windows.Foundation.Rect[]

Return Value

Type:Rect[]

Implements

ICanvasEffect.GetRequiredSourceRectangles(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