Beispiel #1
0
// Sets the wand orientation type.
func (mw *MagickWand) SetOrientation(orientation OrientationType) error {
	C.MagickSetOrientation(mw.mw, C.OrientationType(orientation))
	return mw.GetLastError()
}
Beispiel #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)
}