NAME
chclip -- change clip boundaries for a top picture
SYNOPSIS
#include mpict_p.h
chclip (xlow, ylow, xhigh, yhigh, pic)
int xlow, ylow, xhigh, yhigh;
PICT pic;
DESCRIPTION
chclip
changes the clip boundaries associated with the top picture
pic. xlow
and
ylow
specify the lower left boundaries;
xhigh
and
yhigh
specify the upper right boundaries. Values are absolute coordinates
ranging from -2048 to 2047.
clip
boundaries may be used only for Megatek systems equipped with an
HCRST.
SEE ALSO
mkpar(3U)
DIAGNOSTICS
chclip
prints an apppropriate error message and returns -1 for any of the
following reasons:
-
The pic argument is either EOP or not a top picture.
-
A malloc error occurs.
-
A Megatek write error occurs.