BeginReplay(IRenderingBackend, PdfRectangle, CancellationToken, IProgress?) Method

Definition

Assembly Broadside.dll

As BeginReplay(IRenderingBackend, CancellationToken, IProgress<Double>?), handing over only what Replay(IRenderingBackend, PdfRectangle) hands over for region.

public DisplayListReplay BeginReplay(IRenderingBackend backend, PdfRectangle region, CancellationToken cancellationToken, IProgress<double>? progress)

Parameters

backend
IRenderingBackend

The backend that draws; it keeps its state between slices.

region
PdfRectangle

The region in the list's default user space, as for Replay(IRenderingBackend, PdfRectangle).

cancellationToken
CancellationToken

Cancels the replay before its next operation.

progress
IProgress<Double>

Receives the share of the operations handed over or skipped so far, as for the overload without a region.

Returns

DisplayListReplay
The replay, at the first operation.

Remarks

Viewer capabilities 1 and 2 (issues #96, #97): a tile of a cached list, drawn in time slices. Skipped operations count towards Position and progress but take no time from a slice's budget.