Exemplo n.º 1
0
// Returns the normalized color of the pixel wand as string
func (pw *PixelWand) GetColorAsNormalizedString() string {
	return C.GoString(C.PixelGetColorAsNormalizedString(pw.pw))
}
Exemplo n.º 2
0
// Returns the normalized color of the pixel wand as string
func (pw *PixelWand) GetColorAsNormalizedString() string {
	p := C.PixelGetColorAsNormalizedString(pw.pw)
	defer relinquishMemory(unsafe.Pointer(p))
	return C.GoString(p)
}