Magic VLSI Layout Tool Version 8.2 *


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.


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.


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:


Return to command index

Last updated: March 7, 2020 at 1:06pm