Render(in DisplayGroup, PdfDocument, Bitmap, in Matrix, in Matrix, Double, Double, BlendMode) Method

Definition

Assembly Broadside.Rendering.dll

Draws one transparency group over the current pixels of target, composited as DrawGroup(in DisplayGroup) composites it (isolation, knockout, colour space, opacity, blend mode and soft mask), starting from the initial graphics state: the managed fallback of platform backends for groups their library cannot composite.

public void Render(in DisplayGroup group, PdfDocument document, Bitmap target, in Matrix deviceTransform, in Matrix transform, double strokeAlpha, double fillAlpha, BlendMode blendMode)

Parameters

group
DisplayGroup

The group, valid during the DrawGroup(in DisplayGroup) call that handed it over.

document
PdfDocument

The document of the group's display list, whose colour management converts its colours.

target
Bitmap

The bitmap; drawing is clipped to it. A transparent bitmap gets the group's result alone.

deviceTransform
Matrix

The transform from the list's default user space to the bitmap's pixels, as for Render(DisplayList, Bitmap, in Matrix).

transform
Matrix

The transform the backend held when the group was handed over (its last SetTransform(in Matrix)), which the content starts with.

strokeAlpha
Double

The stroking alpha the backend held (its last SetCompositing(Double, Double, BlendMode)).

fillAlpha
Double

The nonstroking alpha the backend held.

blendMode
BlendMode

The blend mode the backend held.

Remarks

ISO 32000-2 §11.4 and §11.6.6. The content starts with the state the backend held at the group (DisplayGroup), so the transform and compositing state come with it; the clip does not (the caller clips the result) and the soft mask starts as None. Over a transparent bitmap, a non-isolated group sees a transparent backdrop, so its result is that of the same group isolated (§11.4.5). Allocates nothing once warm, as Render(DisplayList, Bitmap, in Matrix).