Crate cosmic::iced_winit::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§

  • Write a graphics backend.
  • Manage colors for shaders.
  • A compositor is responsible for initializing a renderer and managing window surfaces.
  • The core library of Iced.
  • Track and compute the damage of graphical primitives.
  • Asynchronous tasks for GUI programming, inspired by Elm.
  • Build and draw geometry.
  • A gradient that can be used as a fill for some geometry.
  • Load and operate on images.
  • Draw triangles!
  • Create a renderer from a Backend.
  • Draw text.

Structs§

  • A backend-agnostic renderer that supports all the built-in widgets.
  • A 2D transformation matrix.
  • A viewing region for displaying computer graphics.

Enums§

  • An antialiasing strategy.
  • An error that occurred while creating an application’s graphical context.
  • A fill which linearly interpolates colors along a direction.
  • A low-level primitive to render a mesh of triangles.
  • A rendering primitive.

Traits§