DESIGN (xvisual) functions


LIBRARY ROUTINE

xvw_create_polyline - create a polyline object.

LIBRARY CALL

xvobject xvw_create_polyline(
   xvobject parent,
   char   *name)

INPUT

OUTPUT

none

RETURN VALUE

The polyline object on success, NULL on failure

DESCRIPTION

The polyline visual object supports the display of a polyline.

The (x, y) location of each vertex of the polygon must be specified in world coordinates, where the world coordinate range is dictated by the "controlling" visual object. By default, the parent of the circle object is its controlling visual object; this may be changed using the XVW_GRAPHICS_ATTACH attribute.

Device coordinate specification of polyline vertices is not supported, as specification of the bounding box is not sufficient to determine location of vertices in the polygon.

NOTE: the polyline object is still under construction; interactive movement, resizing, and display of menuform is not yet available.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$DESIGN/objects/library/xvisual/src/Polyline.c

SEE ALSO

xvisual(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.