예제 #1
0
// Returns a string which specifies the vector graphics generated by any
// graphics calls made since the wand was instantiated.
func (dw *DrawingWand) GetVectorGraphics() string {
	cstr := C.DrawGetVectorGraphics(dw.dw)
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}
예제 #2
0
// Returns a string which specifies the vector graphics generated by any
// graphics calls made since the wand was instantiated.
func (dw *DrawingWand) GetVectorGraphics() string {
	cstr := C.DrawGetVectorGraphics(dw.dw)
	defer relinquishMemory(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}