You are here: Modules > Graphics > Graphics Defaults
GEOVIA Surpac

Graphics defaults

There are various features about GRAPHICS which are defined in the system files. The files are:

The items in SSI_ETC:defaults.ssi which control the behaviour of GRAPHICS are listed below. They take the form of

item=value

draw styles file

This item defines which drawing styles file is to be used as the default drawing styles file when GRAPHICS is started. For example,

draw styles file=SSI_STYLES:styles.ssi

Drawing styles control features such as

  • labels for legends
  • drawing method
  • line colour
  • line thickness
  • line pattern
  • face colour
  • face transparency
  • reflectance attributes
  • face pattern
  • edge colour
  • edge thickness
  • edge pattern
  • text colour

The drawing styles are defined for both strings and triobjects (DTMs) and are applied to a range of strings or triobjects.

grid label size

This item controls the size of the text that is used for the labelling of XY coordinate grids. For example,

grid label size=0.02 sru

The item value 0.02 sru indicates that the text height will be two percent of the height of the window in screen relative units (sru). The height percentage may be altered, however the sru portion is mandatory. This value shown above gives acceptable results.

grid colour

This item defines the colour which will be used to draw the coordinate grid. The value may be almost any colour name or even a combination such as greenish blue. For example,

grid colour=red

maximum undo operations

This option specifies the number of undo operations which are maintained for each layer in graphics.

A limit of zero means that no undo information is retained. A limit greater than zero is the number of operations which may be undone. A limit less than zero means that undo information is retained for all operations and can very rapidly use up all of the available memory and so is not recommended.

The default value is zero, i.e. no undo information is kept.

undo purge on recall file

Valid values for this option are `on' or `off'. The default value being `on'.

When this option is set to `on' all undo information, except for the data which exists immediately prior to the Recall File function is used, is destroyed whenever a file is recalled into the current graphics layer. This prevents excessive amounts of memory being used to maintain older undo versions.

When the option is set to `off' all previous undo information is retained.