示例#1
0
// Sets the wand orientation type.
func (mw *MagickWand) SetOrientation(orientation OrientationType) error {
	C.MagickSetOrientation(mw.mw, C.OrientationType(orientation))
	return mw.GetLastError()
}
示例#2
0
// Sets the wand orientation type.
func (mw *MagickWand) SetOrientation(orientation OrientationType) error {
	ok := C.MagickSetOrientation(mw.mw, C.OrientationType(orientation))
	return mw.getLastErrorIfFailed(ok)
}