cairomm is a C++ wrapper for the cairo graphics library. It offers all the power of cairo with an interface familiar to C++ developers, including use of the Standard Template Library where it makes sense. This requires glibmm, and graphviz is optional. Both are available from SlackBuilds.org.