Table of Contents

Method MapInvalidRect

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

MapInvalidRect(int, RectInt32, out RectInt32)

Sets the input rectangles for this rendering pass into the transform.

void MapInvalidRect(int inputIndex, RectInt32 invalidInputRect, out RectInt32 invalidOutputRect)

Parameters

inputIndex int

The index of the input rectangle.

invalidInputRect RectInt32

The invalid input rectangle.

invalidOutputRect RectInt32

The output rectangle to which the input rectangle must be mapped.

Remarks

The transform implementation must regard MapInvalidRect as purely functional. The transform implementation can base the mapped input rectangle on the transform implementation's current state as specified by the encapsulating effect properties. But the transform implementation can't change its own state in response to a call to MapInvalidRect. Direct2D can call this method at any time and in any sequence following a call to the MapInputRectsToOutputRect method.