Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wpan(3W) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wsize(3W)

,wmove(3W)

WPAN(3W)

Series 300 and 500 Only

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

wsize(3W),wmove(3W). 

DIAGNOSTICS

A return of -1 indicates failure; otherwise 0 is returned.  See errno(2) for more information.

Hewlett-Packard Company  —  May 11, 2021

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026