Expand description
Backend-agnostic 2D painting interface.
The Painter trait is the core rendering abstraction in agpu. Widgets
render exclusively through this trait, making the rendering backend fully
pluggable.
§Implementations
| Backend | Purpose |
|---|---|
AgpuPainter | GPU-accelerated rendering via wgpu |
NullPainter | Discards all output (headless / agent mode) |
Structs§
- Gradient
Stop - A color stop in a gradient.
- Image
Handle - Image handle for texture-backed drawing.
- Null
Painter - A no-op painter that discards all operations.
- Shadow
- Shadow parameters for shape rendering.
Enums§
- Gradient
- Gradient definition for fill operations.
Traits§
- Painter
- Backend-agnostic 2D painter.