Expand description
Render data: the recorded form of what a visual draws, its resources, and the operations on it (replay, bounds, hit testing).
Structs§
- Bounds
Scope - The bounds accumulated outside of a scope, and how to map the bounds of the scope’s content when it ends.
- Bounds
Visitor - Computes the bounds of recorded operations.
- Composition
Render Data - What a visual drew, on the UI thread: the recorded stream (kept for hit testing) and the id of its server-side counterpart.
- Composition
Render Data Scene Brush Content - The content of a scene brush on the server: the render data the UI thread recorded for it.
- Composition
Render Data Scene Brush Content Properties - What a scene brush sends to its server-side counterpart: the render data
its content was recorded into, the bounds of the content (
None: the bounds of what was drawn) and how the content is rasterized. - Compositor
RefCountable Resource - A server-side resource shared by reference counting.
- Compositor
Resource Holder - Holds the server-side counterparts of a media object, one per compositor the object is used with.
- Draw
Bitmap Payload - Draw
Custom Payload - Draw
Ellipse Payload - Draw
Geometry Payload - Draw
Glyph RunPayload - Draw
Line Payload - Draw
Rectangle Payload - Followed by
box_shadow_countbox shadows. - HitTest
Scope - What a hit-tested push has to restore.
- HitTest
Visitor - Hit tests recorded operations against a point or a geometry.
- Immediate
Render Data Scene Brush Content - The content of a scene brush recorded without a compositor: a render data stream that refers to the drawn objects directly and is replayed on the thread that recorded it.
- Push
Clip Payload - Push
Effect Payload - Push
Geometry Clip Payload - Push
Opacity Mask Payload - Push
Opacity Payload - Push
Render Options Payload - Push
Text Options Payload - Push
Transform Payload - Render
Data Drawing Context - The drawing context core that records what is drawn into render data instead of drawing it.
- Render
Data Reader - Reads back what a
RenderDataWriterwrote. Reading past the end panics, as the span slicing of upstream throws. - Render
Data Resources - The resource table of a render data stream: operations refer to resources by handle.
- Render
Data Stream - A recorded sequence of drawing operations with its resource table.
- Render
Data Writer - Appends the operations of a render data stream to a byte buffer.
- Replay
Scope - What a replayed push has to undo.
- Replay
Visitor - Replays recorded operations onto a platform drawing context.
- Server
Composition Render Data - What a visual drew, on the server: the stream to replay, and the subscriptions to the server-side resources it draws with.
- Server
Composition Simple Pen - The server-side counterpart of a mutable pen.
Enums§
- Render
Data Opcode - The opcode that starts every operation of a render data stream.
- Render
Data Resource - A resource referenced by render data.
Constants§
- NULL_
HANDLE - The handle of “no resource”.
Traits§
- IComposition
Render Resource - A mutable media object (brush, pen, geometry, transform) that has a server-side counterpart on every compositor it is used with.
- IRender
Data Geometry - A geometry as referenced by render data: something that resolves to a platform geometry when the data is replayed.
- IRender
Data Payload - The fixed-size part of an operation of a render data stream, written after its opcode.
- IRender
Data Visitor - Walks the operations of a render data stream. A push returns a scope
value that is handed back to
on_popwhen the matching pop is reached.