Magic VLSI Layout Tool Version 7.3 *

splitpaint


Paint into the cursor box, splitting the box diagonally with one layer forming a right triangle in one corner and space or another layer in the other.

Usage:

splitpaint dir layer [layer2]

where dir is a valid non-Manhattan direction indicating the direction of the right angle corner of the right triangle to be painted. This triangle is painted with layer type layer. If specified, the opposite triangle is painted with layer type layer2; otherwise, it is unpainted.

Summary:

The splitpaint command implements a form of non-Manhattan geometry that conforms to the corner-stitched tile database format used by magic for painting and searching operations in a plane. It lets a rectangular area, as defined by the position of the cursor box, be split diagonally, with one half containing one layer type, and the other half containing another.

Note that splitpaint is somewhat cumbersome to use; to generate diagonal wires, use the wire segment command, which is also able to compute mitred joints between segments at different angles.

Implementation Notes:

splitpaint is implemented as a built-in command in magic.

See Also:

spliterase
wire

Return to command index

Last updated: October 8, 2004 at 7:38am