Crate graphics

Source
Expand description

A bunch of backend-agnostic types that can be leveraged to build a renderer for iced.

The native path of the Iced ecosystem

Modules§

cache
Cache computations and efficiently reuse them.
color
Manage colors for shaders.
compositor
A compositor is responsible for initializing a renderer and managing window surfaces.
core
The core library of Iced.
damage
Compute the damage between frames.
error
See what can go wrong when creating graphical backends.
futures
Asynchronous tasks for GUI programming, inspired by Elm.
geometry
Build and draw geometry.
gradient
A gradient that can be used as a fill for some geometry.
image
Load and operate on images.
layer
Draw and stack layers of graphical primitives.
mesh
Draw triangles!
text
Draw text.

Structs§

Cache
A simple cache that stores generated values to avoid recomputation.
Settings
The settings of a renderer.
Viewport
A viewing region for displaying computer graphics.

Enums§

Antialiasing
An antialiasing strategy.
Error
An error that occurred while creating an application’s graphical context.
Gradient
A fill which linearly interpolates colors along a direction.
Image
A raster or vector image.
Mesh
A low-level primitive to render a mesh of triangles.
Text
A text primitive.

Traits§

Compositor
A graphics compositor that can draw to windows.
Layer
A layer of graphical primitives.