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