window objects - Geomview Manual
Description: Geomview Manual

Previous: camera objects, Up: Non-geometric objects

#### 4.3.6 window

A window object specifies size, position, and other window-system related information about a window in a device-independent way.

The syntax for a window object is:

         window ::=

                 [ "window" ]                    (optional keyword)
                   [ "{" ]                      (curly brace, often required)

                                         (any of the following, in any order)

                         "size"  <xsize> <ysize>
                                         (size of the window)

                         "position"  <xmin> <xmax> <ymin> <ymax>
                                         (position & size)

                         "noborder"
                                         (specifies the window should
                                          have no window border)

                         "pixelaspect"  <aspect>
                                     (specifies the true visual aspect ratio
                                      of a pixel in this window in the sense
                                      xsize/ysize, normally 1.0.
                                      For stereo hardware which stretches the
                                      display vertically by a factor of 2,
                                      ``pixelaspect 0.5'' might do.
                                      The value is used when computing the
                                      projection of a camera associated with
                                      this window.)

                   [ "}" ]                      (matching closebrace)

Window objects are used in the Geomview `window` and `ui-panel` commands to set default properties for future windows or to change those of an existing window. See `(window ...)`. See `(ui-panel ...)`.