- Generated SVG files no longer use `transparent` paint or color as this keyword
does not exist in SVG 1.1, and instead use `none` or a zero-opacity color.
+### Added
+ - GVContext::version() to lib/gvc++
+
## [5.0.0] – 2022-07-07
### Changed
gvFreeContext(m_gvc);
}
+std::string_view GVContext::version() const { return gvcVersion(m_gvc); }
+
} // namespace GVC
#pragma once
+#include <string_view>
#include <utility>
#include "gvc.h"
// get a non-owning pointer to the underlying C data structure
GVC_t *c_struct() const { return m_gvc; }
+ std::string_view version() const;
+
private:
// the underlying C data structure
GVC_t *m_gvc = nullptr;