Structs§
- Blend
- True alpha-blending compositor. Requires a
PixelReadtarget. - Dither
- Ordered-dither compositor (default). No readback required.
- Layer
State - Render
Backend Caps - Render
Ctx - Stroke
Style - Text
Metrics - Text
Style - Transform2D
Enums§
- Anti
Alias Mode - Blend
Mode - Color
Format - Ellipsis
Mode - Render
Quality - Stroke
Cap - Stroke
Join - Text
Align - Text
Overflow - Text
Overflow Policy - Text
Wrap - Vertical
Align
Constants§
Traits§
- Compositor
- Pixel-plotting policy for a
RenderCtx. Selected by the ctx’sCtype parameter so the same drawing calls composite differently depending on the target’s capabilities — with no runtime branch and no specialization. - Pixel
Read - Capability trait for draw targets that can read back a pixel they’ve
already written. Optional: the default opacity/blend APIs on
RenderCtxonly requireDrawTargetand approximate translucency with ordered dithering, so they keep working on write-only displays. ImplementingPixelReadadditionally unlocks the*_true_alphamethods, which composite against the destination’s actual current contents instead of dithering.