Method Render
- Namespace
- PaintDotNet.Effects
- Assembly
- PaintDotNet.Effects.Core.dll
Render(Rectangle[], int, int)
public void Render(Rectangle[] renderRects, int startIndex, int length)
Parameters
Render(EffectConfigToken?, RenderArgs, RenderArgs, Rectangle[], int, int)
Performs the effect's rendering. The source is to be treated as read-only, and only the destination pixels within the given rectangle-of-interest are to be written to. However, in order to compute the destination pixels, any pixels from the source may be utilized.
public override sealed void Render(EffectConfigToken? token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, int startIndex, int length)
Parameters
tokenEffectConfigTokenThe token that contains the parameters to the effect. If IsConfigurable is false, then this will be null.
dstArgsRenderArgsDescribes the destination surface.
srcArgsRenderArgsDescribes the source surface.
roisRectangle[]The list of rectangles that describes the region to be rendered.
startIndexintThe index within roi to start enumerating from.
lengthintThe number of rectangles to enumerate from roi.