FramePart(FramePartKind, Tile, LayoutRectangle) Constructor

Definition

Assembly Broadside.Viewer.dll

One draw of a frame (GetFrame(in Viewport, Span<FramePart>)): a page's paper, or a tile already on the surface, and where it goes in the viewport.

public FramePart(FramePartKind Kind, Tile Tile, LayoutRectangle Destination)

Parameters

Kind
FramePartKind

What it draws.

Tile
Tile

The tile on the surface to draw (as Present(Tile, Bitmap) received it), stretched from its whole bitmap onto Destination; for Paper, the page's whole render at the frame's zoom (nothing to fetch).

Destination
LayoutRectangle

Where it goes, in viewport pixels; it may reach past the viewport's edges, which the shell clips.

Remarks

Spec #33 viewer capability 2. Parts come in drawing order (later parts over earlier): every page's paper, then the scaled tiles farthest from the frame's zoom first, then the sharp tiles, so the sharpest pixels end on top.