Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wgetbcoords(3W) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wgetcoords(3W)

WGETBCOORDS(3W)

Series 300 and 500 Only

NAME

wgetbcoords − get border coordinates

SYNOPSIS

int wgetbcoords(fd,x,y,w,h);
int fd;
int *x,*y;
int *w,*h;

DESCRIPTION

fd is an integer file descriptor for an opened window type device interface. 

x,y are pointers to the screen pixel coordinates of the upper left corner of the border with respect to the physical screen.  Positive, negative and zero values for x and y are allowed.  (0,0) is the upper left corner of the screen. 

w,h are pointers to the pixel width and height of the border. 

DISCUSSION

Returns the border coordinates associated with the window type device indicated by fd. 

SEE ALSO

wgetcoords(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