line_endpoint(3G)
NAME
line_endpoint − set a line endpoint type and corners for lines with width.
SYNOPSIS
C Syntax:
void line_endpoint(fildes,endpoint);
int fildes,endpoint;
FORTRAN77 Syntax:
subroutine line_endpoint(fildes,endpoint)
integer*4 fildes,endpoint
Pascal Syntax:
procedure line_endpoint(fildes,endpoint:integer);
DESCRIPTION
Input Parameters
fildes integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
endpoint an enumerated value specifying the type of endpoint for a line wider than the default line width:
SQUARE = endpoints are squared-off perpendicular to the primary line.
ROUNDED = endpoints are circular.
Discussion
Line_endpoint specifies the type of endpoint and corners that will be used for a polyline2d, intpolyline2d, draw2d, or intdraw2d that has a specified width.
NOTE
Rounded end points with anisotropic mapping (x units do not equal y units) may produce unexpected, device-dependent results.
DEFAULT
Endpoint is system dependent.
SEE ALSO
draw(3G), polyline(3G), line_width(3G), vdc_extent(3G), Starbase Graphics Techniques.
Hewlett-Packard Company — HP-UX Release 9.10: April 1995