From 8bd5f687d143968c186989d7f3d77edb1de8924d Mon Sep 17 00:00:00 2001 From: Raph Levien Date: Tue, 1 Jan 2019 22:08:59 -0800 Subject: [PATCH] Add readme Sparse but is better than nothing. --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..72bc01e --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Piet: a 2D graphics abstraction + +This repo holds an API for 2D graphics drawing. + +The motivation for this crate is set forth in this [blog post]. Ideally it will become a layer to help [druid] become cross-platform. + +This repo is structured as a core API crate, "piet" and a separate crate for each back-end, currently "piet-direct2d" and "piet-cairo". One motivation for this structure is that additional back-ends can be written without coupling to the main crate, and clients can opt in to the back-ends they need. In addition, it's possible use multiple back-ends, which will likely be useful for testing. + +A companion for Bézier path representation and geometry is [kurbo]. + +Contributions are welcome! It's in early stages, so there are lots of opportunities to fill things out. + +[blog post]: https://raphlinus.github.io/rust/graphics/2018/10/11/2d-graphics.html +[druid]: https://github.com/xi-editor/druid +[kurbo]: https://github.com/linebender/kurbo -- 2.34.2