versionString

fnstring versionString()

Returns the version of the cairo library as a human-readable string of the form "X.Y.Z".

See also [cairo.global.version_] as well as the compile-time equivalents CAIRO_VERSION_STRING and CAIRO_VERSION.

Returns

a string containing the version.