WPAN(3W)
NAME
wpan − pan the window
SYNOPSIS
int wpan(fd,dx,dy);
int fd;
int dx,dy;
DESCRIPTION
fd is an integer file descriptor for an opened graphics window type device interface.
dx,dy
is the pixel delta x and delta y offset in the window raster of the upper left hand corner of the view that is being shown.
DISCUSSION
Changes the position of the view within the raster, in graphics terminology this is called panning.
This operation is limited by the current position of the view into the raster and the raster’s size. Under no circumstance will the pan cause the size of the view of the window to change. If an out-of-range operation is attempted, nothing will happen and a -1 will be returned.
SEE ALSO
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 8.0: January 1991