Method Render
- Namespace
- PaintDotNet.Effects
- Assembly
- PaintDotNet.Effects.Core.dll
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 abstract void Render(EffectConfigToken? token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, int startIndex, int length)
Parameters
token
EffectConfigTokenThe token that contains the parameters to the effect. If IsConfigurable is false, then this will be null.
dstArgs
RenderArgsDescribes the destination surface.
srcArgs
RenderArgsDescribes the source surface.
rois
Rectangle[]The list of rectangles that describes the region to be rendered.
startIndex
intThe index within roi to start enumerating from.
length
intThe number of rectangles to enumerate from roi.
Render(EffectConfigToken?, RenderArgs, RenderArgs, Rectangle[])
public void Render(EffectConfigToken? token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois)
Parameters
token
EffectConfigTokendstArgs
RenderArgssrcArgs
RenderArgsrois
Rectangle[]