示例#1
0
// Returns the normalized color of the pixel wand as string
func (pw *PixelWand) GetColorAsNormalizedString() string {
	return C.GoString(C.PixelGetColorAsNormalizedString(pw.pw))
}
示例#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)
}