Cairo backend for diagrams