DESIGN (xvisual) functions
LIBRARY ROUTINE
xvw_create_position - create a position object
LIBRARY CALL
xvobject xvw_create_position(
xvobject parent,
char *name)
INPUT
- parent - the parent object; NULL will cause a
default toplevel to be created automatically
- name - a name for this particular instance of the position
object (for use in app-defaults files, etc)
OUTPUT
none
RETURN VALUE
The position object on success, NULL on failure
DESCRIPTION
A position object is used to track movement of the
pointer in an image; thus, it was designed to be used
in conjunction with an image object.
The position object displays values in an (X x Y) or
(X x Y = Z) format, where X and Y display the location
of the pointer in the image object, and the optional Z
is the pixel value of the image at that location. When
the latter format is used with an RGB image, the format
is modified to be ( X x Y = R G B).
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$DESIGN/objects/library/xvisual/src/Position.c
SEE ALSO
xvisual(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.