55 releases (26 breaking)
|0.26.0||Feb 22, 2018|
|0.24.0||Nov 30, 2017|
|0.21.1||Feb 3, 2017|
|0.19.0||Nov 2, 2016|
|0.0.1||Dec 13, 2014|
#21 in Graphics APIs
3,131 downloads per month
Used in 58 crates (27 directly)
A library for 2D graphics, written in Rust, that works with multiple back-ends.
Latest news: Color spaces are now well defined!
Experimental algorithms are developed in a separate repository: Graphics-Lab
Rust is programming language developed by Mozilla and the Rust community. It is fast, safe, concurrent and cross platform. Because of the many numbers of potential platforms (read: all kinds of computers), it would be nice to have a 2D graphics library that works with multiple back-ends, so you don't have to invent a new graphics engine for each platform you are working on.
To write your own back-end, use the
Graphics trait. The
Graphics trait implements default behavior for some methods,
which can be overridden for higher quality or better performance.
- Easy to use
- Minimal dependencies
- Vector graphics
- To have a feature complete library for 2D graphics in general
- Reasonable defaults with resolution detection whenever possible
- Image formats
- Backward compability (expect lot of breaking)
- Platform or back-end specific code
- Node tree
- One-to-one correspondence with standards
- Integration with platform GUI