rotate [+/-][deg] rotate selection and box (counter)clockwise only manhattan rotations (90, 180, 270) are supported Magic-7.3 Command Reference

Magic VLSI Layout Tool Version 7.3 *

rotate


Rotate the selection and box clockwise by the indicated amount.

Usage:

rotate [+|-][degrees] [-origin]

where degrees is the number of degrees to rotate, and must be a manhattan amount (90, 180, 270).

Summary:

The rotate command rotates the current selection by the specified amount, in degrees. The default rotation is by 90 degrees. The amount of rotation can be positive or negative, but must be one of the Manhattan rotations 90, 180, or 270.

If -origin is specified, the rotation is around the origin of the selection, not around the lower left-hand corner.

Implementation Notes:

rotate is implemented as a built-in magic command. It is equivalent to the clockwise command but allows negative values to represent counterclockwise rotation.

See Also:

clockwise

Return to command index

Last updated: October 15, 2004 at 10:10am