24 releases
Uses old Rust 2015
0.9.1 | Jul 10, 2020 |
---|---|
0.8.1 | Feb 16, 2020 |
0.8.0 | Dec 14, 2019 |
0.7.1 | Jul 4, 2019 |
0.0.4 | Jul 18, 2015 |
#3 in Graphics APIs
25,402 downloads per month
Used in 195 crates
(66 directly)
325KB
9K
SLoC
cairo

Cairo bindings for Rust.
License
MIT
lib.rs
:
Cairo bindings
This library contains safe Rust bindings for Cairo. It is a part of Gtk-rs.
Crate features
Default-on features
- use_glib - Use with glib
Fileformat features
- png - Reading and writing PNG images
- pdf - Rendering PDF documents
- svg - Rendering SVG documents
- ps - Rendering PostScript documents
Cairo API version features
- v1_14 - Use Cairo 1.14 APIs
- v1_16 - Use Cairo 1.16 APIs
Documentation features
- embed-lgpl-docs - Embed API docs locally
- purge-lgpl-docs - Remove API docs again (counterpart to
embed-lgpl-docs
) - dox - Used to keep system dependent items in documentation
X Window features
- xcb - X Window System rendering using the XCB library
- xlib - X Window System rendering using XLib
Windows API features
- win32-surface - Microsoft Windows surface support
Dependencies
~1.2–2.5MB
~50K SLoC