Module nannou::geom::path

source ·
Expand description

Items related to working with paths for 2D geometry and vector graphics.

This module attempts to provide abstractions around the various Path and Builder types offerred by lyon in a way that interoperates a little more fluidly and consistently with the rest of nannou’s API.

Structs

  • A type used for building a 2D lyon path.
  • A wrapper around a 2D lyon path exposing a nannou-friendly API.

Functions

  • Begin building a path.
  • Build a path with the given capacity for the inner path event storage.