コード例 #1
0
ファイル: magick_wand_prop.go プロジェクト: qwo/abelana-gcp
// Sets the wand background color.
func (mw *MagickWand) SetBackgroundColor(background *PixelWand) error {
	C.MagickSetBackgroundColor(mw.mw, background.pw)
	return mw.GetLastError()
}
コード例 #2
0
ファイル: magick_wand_prop.go プロジェクト: palaiyacw/imagick
// Sets the wand background color.
func (mw *MagickWand) SetBackgroundColor(background *PixelWand) error {
	ok := C.MagickSetBackgroundColor(mw.mw, background.pw)
	return mw.getLastErrorIfFailed(ok)
}