example2(1)

PROGRAM
example2 - 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.

SYNTAX

example2

[-i]
    Input Image

[-w]
    width of viewport

[-h]
    height of viewport

[-fn]
    Specifies the font for example2 (use % xlsfonts for available fonts)

[-V]
    Gives the version for example2

[-U]
    Gives the usage for example2

[-P]
    Prompts for command line options

[-A [file1]]
    Creates the answer file called example2.ans or file1

[-a [file1]]
    Uses example2.ans or file1 as the answer file

DESCRIPTION

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.

REQUIRED ARGUMENTS
none

OPTIONAL ARGUMENTS

-i  type: infile
    desc: Input Image

-w  type: integer
    desc: width of viewport
    default: 1
    bounds: value > 0

-h  type: integer
    desc: height of viewport
    default: 1
    bounds: value > 0

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.