Skip to main content

Module paint

Module paint 

Source
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

BackendPurpose
AgpuPainterGPU-accelerated rendering via wgpu
NullPainterDiscards all output (headless / agent mode)

Structs§

GradientStop
A color stop in a gradient.
ImageHandle
Image handle for texture-backed drawing.
NullPainter
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.