Expand description
Vello CPU glyph rendering backend.
Provides GlyphAtlas (atlas backed by per-page Pixmaps) and the
GlyphRenderer implementation for RenderContext that
rasterises glyphs into CPU-accessible pixel buffers.
The key difference from the hybrid backend is that atlas pages are owned as
Arc<Pixmap>s here, so the CPU renderer can read pixels directly without
any GPU upload step.
Modulesยง
- debug ๐
- Debug utilities for visualizing glyph bounds during rasterization.
Structsยง
- Glyph
Atlas ๐Resources
Functionsยง
- atlas_
page_ ๐image_ id - clear_
pixmap_ ๐region - Zero out a rectangular region in the atlas pixmap.
- copy_
pixmap_ ๐to_ atlas - Copy bitmap glyph pixels into a rectangular region of an atlas page.
- ensure_
page ๐ - Ensure a pixmap exists for the given page, creating it if needed.
Type Aliasesยง
- Glyph
RunBuilder - A glyph run builder.