Alternatives to Cairo for 2d graphics for X11

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Skia

    Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

  • If you want CPU rendering perhaps tiny-skia meets your needs? Also proper Skia is generally the Cairo alternative, though I dunno that its any easier to use or compile than Cairo is. Alternatively you could try Raqote or Piet.

  • rust-xcb

    Rust bindings and wrapper for XCB.

  • Yeah, I would like to use just Cairo, but the documentation to get it working with the xcb crate is just atrocious, in particular I am running into this issue with the latest rust-xcb bindings that requires an unsafe cast potentially. https://github.com/rust-x-bindings/rust-xcb/issues/200

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts