Expand description
Canvas element handling prepaint, layout, and GPU quad rendering.
Structs§
- Editor
Canvas - The GPUI canvas element responsible for shaping and rendering text runs and quads.
- Line
Metrics - Visual layout metrics and block-level decorations for a single rendered line.
- RunFonts
- Fonts used when building styled text runs for a line.
Functions§
- build_
line_ text_ runs - Builds styled text runs for a single line by blending syntax spans and active selection.