Ejemplo n.º 1
0
// Obtains the current clipping path ID.
func (dw *DrawingWand) GetClipPath() string {
	cscp := C.DrawGetClipPath(dw.dw)
	defer C.free(unsafe.Pointer(cscp))
	return C.GoString(cscp)
}
Ejemplo n.º 2
0
// Obtains the current clipping path ID.
func (dw *DrawingWand) GetClipPath() string {
	cscp := C.DrawGetClipPath(dw.dw)
	defer relinquishMemory(unsafe.Pointer(cscp))
	return C.GoString(cscp)
}