Expand description
DrafftInk Render Library
Renderer abstraction and implementations for DrafftInk. The default implementation uses Vello for GPU-accelerated rendering.
Re-exports§
pub use text_editor::TextEditResult;pub use text_editor::TextEditState;pub use text_editor::TextKey;pub use text_editor::TextModifiers;
Modules§
- text_
editor - Text editing state using Parley’s PlainEditor.
Structs§
- Angle
Snap Info - Angle snap visualization info.
- PngRender
Result - Result of PNG rendering - contains the raw RGBA pixel data and dimensions.
- Render
Context - Context for a single render frame.
- Vello
Renderer - Vello-based renderer for GPU-accelerated 2D graphics.
Enums§
- Grid
Style - Grid display style.
- Renderer
Error - Renderer errors.
Traits§
- Renderer
- Trait for rendering backends.