Magic-7.3 Command Reference

#

## paint

Paint mask information into the current edit cell

### Shortcuts:

> Key interactive macro p implements the command paint and waits for input of the layer type.
> Mouse button 2 implements the command paint cursor when using the "box tool" in a layout window.

### Usage:

> paint layers|cursor

> > where layers is a comma-separated list of types to paint.

### Summary:

> The paint command paints layer types in the current edit cell inside the area of the cursor box.

> Note that some layers, such as DRC layers, cannot be painted. Elements are painted with the element command and feedback areas are painted using the feedback command.

> The "paint cursor" option picks the layers underneath the position of the (X11) cursor and fills the cursor box with these types. However, when no material (e.g., "space") is present under the cursor, then all material and labels are erased from the area of the cursor box.

### Implementation Notes:

> paint is implemented as a built-in command in magic.

### See Also:

> erase

Return to command index

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