Overview of Piet 2D graphics abstraction
mainPiet is a cross-platform 2D graphics abstraction library. It consists of a core crate (piet) that defines the 2D graphics API and several backend crates that implement this API using the native 2D graphics systems of different platforms. This architecture allows developers to write drawing code once and run it on multiple platforms without bundling a heavy renderer.
Key relationships:
piet: The core API crate.kurbo: A companion crate for Bézier path representation and geometry.Druid: A cross-platform GUI toolkit that uses Piet as its graphics foundation.