Beispiel #1
0
// Returns a string which specifies the code set used for text annotations.
func (dw *DrawingWand) GetTextEncoding() string {
	cstr := C.DrawGetTextEncoding(dw.dw)
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
Beispiel #2
0
// Returns a string which specifies the code set used for text annotations.
func (dw *DrawingWand) GetTextEncoding() string {
	cstr := C.DrawGetTextEncoding(dw.dw)
	defer relinquishMemory(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}