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