58 releases (29 breaking)
|new 0.29.0||Jan 17, 2019|
|0.28.0||Nov 15, 2018|
|0.27.0||Nov 6, 2018|
|0.26.0||Feb 22, 2018|
|0.0.1||Dec 13, 2014|
#23 in Graphics APIs
3,054 downloads per month
Used in 63 crates (31 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