Example #1
0
func (l level) String() string {
	v := C.cairo_ps_level_to_string(C.cairo_ps_level_t(l))
	if v == nil {
		return "unknown PS level"
	}
	return C.GoString(v)
}
Example #2
0
func (self PSLevel) String() string {
	return C.GoString(C.cairo_ps_level_to_string(C.cairo_ps_level_t(self)))
}