Exemplo n.º 1
0
// Returns the font associated with the MagickWand.
func (mw *MagickWand) GetFont() string {
	cstr := C.MagickGetFont(mw.mw)
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
Exemplo n.º 2
0
// Returns the font associated with the MagickWand.
func (mw *MagickWand) GetFont() string {
	cstr := C.MagickGetFont(mw.mw)
	defer relinquishMemory(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}