Plotters Piet

crates.io docs.rs badge

A Piet backend for Plotters. This lets you draw plots on a Piet render context.

Currently the piet dependency is at 0.3 because that's what druid depends on. The code is almost compatible with piet 0.4 and 0.5, required changes are listed in comments in the code. The main purpose of this crate is to serve as a building block for plotters-druid and therefore compatibility with the current druid version takes priority over tracking the latest piet version.

Note that so far this has only been tested with piet-cairo and piet-direct2d.

Examples can be found in the examples directory.

License

Licensed under either of

at your option.