WGETBCOORDS(3W)
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
DIAGNOSTICS
A return of -1 indicates failure; otherwise 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021