Render(DisplayList, Bitmap, in Matrix) Method

Definition

Assembly Broadside.Rendering.dll

Draws list over the current pixels of target, without a background.

public void Render(DisplayList list, Bitmap target, in Matrix deviceTransform)

Parameters

list
DisplayList

The display list.

target
Bitmap

The bitmap; drawing is clipped to it.

deviceTransform
Matrix

The transform from the list's default user space to the bitmap's pixels (origin top-left, y down), such as GetDeviceTransform(PdfPage); a tile renderer adds its own offset (the tile's top-left pixel moved to the origin) and gets the same pixels as the whole page's render.

Remarks

ISO 32000-2 §8.3.2.2 (device space). Spec #33 story 14 (viewer capability 1): only the paints whose bounds reach the bitmap are drawn (Replay(IRenderingBackend, PdfRectangle)), so one cached list renders tiles at any scale, each costing what its own content costs. The list computes the bounds on its first such render.