next up previous contents index
Next: Misc. Presentation Up: Technology File Attributes Previous: Technology File Attributes   Contents   Index

Grid Presentation

These keywords define the appearance of the axes and grid shown in the drawing windows on program startup. Within Xic, the presentation can be modified from the Style page of the Grid Setup panels associated with the drawing windows. The parameters given in the technology file apply to the main window, which are inherited by sub-windows when created. The parameters can subsequently be changed with the panel on a per-window basis.

For the main drawing window, the Main Window sub-menu of the Attributes Menu provides the Set Grid button, which brings up the Grid Setup panel. Sub-windows have the Grid Setup panel available from the Attributes menu in the sub-window. Pressing Ctrl-g while a drawing window has focus will also bring up the panel.

The keywords described in this section can also appear within print driver blocks. If they appear in a print driver block, the attribute will apply on-screen when that driver is active in printing mode, and in the printer output.

Axes [Plain | Mark | None]
This determines the presentation style for the axes in physical mode. The default is Mark, where the origin is marked with a small box. If Plain is given, the axes are simple lines. If None is given, the axes will not be drawn.

ShowGrid [y| n]
This determines whether or not the grid will be shown by default, and applies to both physical and electrical modes.
Default: y

$\textstyle \parbox{4in}{
{\tt ElecShowGrid} [{\tt y}$\vert${\tt n}]\\
{\tt PhysShowGrid} [{\tt y}$\vert${\tt n}]}$
These keywords allow the grid display to be set independently for the two modes. The last ShowGrid directive will have precedence for a given mode.

GridOnBottom [y| n]
This keyword determines whether the grid is shown on top of or below the rendered objects.
Default: y

$\textstyle \parbox{4in}{
{\tt ElecGridOnBottom} [{\tt y}$\vert${\tt n}]\\
{\tt PhysGridOnBottom} [{\tt y}$\vert${\tt n}]}$
These keywords allow the grid to be displayed above or below the rendered objects independently for the two modes. The last GridOnBottom directive will have precedence for a given mode.

GridStyle style [xsize]
This sets the style of grid to use in both electrical and physical modes. The style is a decimal of hex (with ``0x'' prefix) integer whose binary pattern is used to replicate the grid lines. A value of 0 indicates a point grid, and -1 indicates solid grid lines. Other values are taken as a line pattern that is periodically reproduced. From the MSB, the pattern starts with the first set bit, and continues through the LSB.

If the style value is 0, for a ``dots'' grid, a second integer will be read if present. This value can be 0-6, and represents the number of pixels to light up around the central pixel in the four compass directions. The ``dots'' can appear as brighter dots or small crosses, as set by this integer. This integer is ignored if style is nonzero, and is taken as 0 if absent.
Default: 0xcc (hex)

$\textstyle \parbox{4in}{\tt
ElecGridStyle {\it style}\\
PhysGridStyle {\it style}}$
These keywords allow the grid style to be set independently for electrical and physical modes. The last GridStyle directive has precedence for a given mode.

CoarseGridMult num
This can be set to an integer 1-50, and specifies that coarse grid lines will appear every num fine grid lines. With value 1, the grid will use the coarse grid color only. This applies in both electrical and physical modes.
Default: 5

$\textstyle \parbox{4in}{{\tt ElecCoarseGridMult} {\it num}\\
{\tt PhysCoarseGridMult} {\it num}}$
These provide the coarse grid multiplier independently for the two modes. The last CoarseGridMult directive seen for a given mode has precedence.


next up previous contents index
Next: Misc. Presentation Up: Technology File Attributes Previous: Technology File Attributes   Contents   Index
Stephen R. Whiteley 2024-09-29