Expand description
Unified tiny-skia renderer for both native and WASM targets.
This module implements the full rendering pipeline: viewport transform, element drawing (shapes, lines, text placeholders), fill patterns (solid, hachure, crosshatch), selection visuals, and hit testing.
§Text rendering
TODO: Text is currently rendered as a colored placeholder rectangle with approximate bounds. Full glyph rendering requires cosmic-text integration, which will be added in a follow-up.
Structs§
- Render
Config - Configuration for the renderer.
- Renderer
- The renderer. Stateless aside from config — call
render()each frame.
Enums§
- Handle
Position - Resize handle position on a selection box.
Constants§
- ARROWHEAD_
ANGLE - ARROWHEAD_
LENGTH - Arrowhead geometry