Modules§
- context
- DrawContext provides a painter’s stack for building scenes.
- geometry
- Core geometry primitives for motif.
- renderer
- Renderer trait for backend abstraction.
- scene
- Scene holds primitives for rendering.
Structs§
- Corners
- Corner values for border radii.
- Debug
Renderer - Debug renderer that counts primitives without GPU.
- Device
Pixels - Device pixels - physical pixel coordinate space.
- Draw
Context - Painter’s stack for hierarchical drawing.
- Edges
- Edge values for padding, margin, border widths. Follows CSS order: top, right, bottom, left.
- Logical
Pixels - Logical pixels - DPI-independent coordinate space.
- Quad
- A filled/stroked rectangle with optional rounded corners.
- Scale
Factor - Scale factor for converting between logical and device pixels.
- Scene
- Holds all primitives for a frame, ready for rendering.
Enums§
- Axis
- Axis in 2D space.
Traits§
Type Aliases§
- Device
Point - Device
Rect - Device
Size - Hsla
- Linear HSL with an alpha component. See the
Hslaimplementation inAlpha. - LinSrgba
- Linear sRGB with an alpha component.
- Point
- Rect
- Size
- Srgba
- Non-linear sRGB with an alpha component.
- Vector