Module cosmic::iced_winit::graphics::geometry

source ·
Expand description

Build and draw geometry.

Modules§

  • Fill Geometry with a certain style.
  • Draw and generate geometry.
  • Build different kinds of 2D shapes.
  • Create lines from a Path and assigns them various attributes/styles.

Structs§

  • A simple cache that stores generated geometry to avoid recomputation.
  • The style used to fill geometry.
  • The region of a surface that can be used to draw geometry.
  • A raster image that can be drawn.
  • The dash pattern used when stroking the line.
  • An immutable set of points that may or may not be connected.
  • The style of a stroke.
  • A raster image that can be drawn.
  • A bunch of text that can be drawn to a canvas

Enums§

  • A fill which linearly interpolates colors along a direction.
  • The shape used at the end of open subpaths when they are stroked.
  • The shape used at the corners of paths or basic shapes when they are stroked.
  • The coloring style of some drawing.

Traits§