Beispiel #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)
}
Beispiel #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)
}