IRenderSurface Interface

Definition

Assembly Broadside.Viewer.dll

Where a DocumentSession puts finished tiles: the surface abstraction each UI shell implements over its own canvas, image or texture (a Blazor canvas, a WPF writeable bitmap, a GPU texture), and HeadlessSurface in tests.

public interface IRenderSurface

Remarks

Spec #33 story 54. Present(Tile, Bitmap) is called only for tiles that completed: a cancelled tile never reaches the surface. A direct RenderTileAsync(Tile, IRenderSurface, CancellationToken) presents on the context that awaited it; a TileScheduler over a Background session presents and evicts on worker threads, several at once, so such a surface is thread-safe and hands its tiles to the UI thread itself (#357).

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Properties (1)

Methods (2)