
EXAMPLE2(help)               Khoros                EXAMPLE2(help)

     EXAMPLE2 -- This simple program is an example of an xvrou-
     tine that uses the xvdisplay library.  It simply displays a
     VIFF image in a viewport with a scroll bar, so that in case
     the viewport is too small to display the images (and it
     deliberately is, in most cases), you may use the scroll bars
     to view the other portions of the image.

     This simple program is an example of an xvroutine that uses
     the xvdisplay library.  It simply displays a VIFF image in a
     viewport with a scroll bar, so that in case the viewport is
     too small to display the images (and it deliberately is, in
     most cases), you may use the scroll bars to view the other
     portions of the image.

ARGUMENTS
     [-i {input image}]
          Provide the desired input VIFF image here.  The image
          must be of type BIT or BYTE.  If it is not, you will be
          prompted to convert the image.

     [-w {viewport width}]
          Provide the desired width of the viewport here.  Note
          that to have useful scroll bars, the viewport width
          must be smaller than the width of the input image.  The
          default is 250.

     [-h {viewport height}]
          Provide the desired height of the viewport here.  Note
          that to have useful scroll bars, the viewport height
          must be smaller than the width of the input image.  The
          default is 250.

EXAMPLES
     % example2 -i $KHOROS_HOME/data/images/feath.xv

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3) example1(1)

RESTRICTIONS
     none (?)

COPYRIGHT
     Copyright 1991, University of New Mexico.  All rights
     reserved.

     Copyright 1991, University of New Mexico. All rights
     reserved.

Version: 0                 Release: 1                           1

