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
intThe index of the input rectangle.
invalidInputRect
RectInt32The invalid input rectangle.
invalidOutputRect
RectInt32The 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.