Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

GT-GET-VIEWPORT

source files: xgtm.[ch], term/*.trm, gtplot.h

SYNTAX

(GT-GET-VIEWPORT)
(SEND <gtm:terminal> :GET-VIEWPORT)

DESCRIPTION

Return the coordinates of the current screen viewport. If you're on a window system, these are relative to the display window, not the display as a whole.

Return value is a list of integers, (xmin, xmax, ymin, ymax).

This is a new-style 3D call.


Go to the first, previous, next, last section, table of contents.