Element: display_window.clip[4]

Type

numeric

Description

The window's image clip rectangle. When display_window is displaying part of an image, display_window.clip records the dimensions of the clip rectangle in image co-ordinates. The rectangle is in the form left x, top y, right x, bottom y, where Y values run top to bottom starting at 0.

The initial value of the rectangle is that defined by the -clip switch on the wdisplay command, or the full image rectangle if no -clip switch was supplied.

Changing this value will change the window size to display the image file appropriate to the new clip rectangle.