Exemple #1
0
func (v version) String() string {
	V := C.cairo_svg_version_to_string(C.cairo_svg_version_t(v))
	if V == nil {
		return "unknown SVG version"
	}
	return C.GoString(V)
}
Exemple #2
0
func (self SVGVersion) String() string {
	return C.GoString(C.cairo_svg_version_to_string(C.cairo_svg_version_t(self)))
}