Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line_endpoi(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

draw(3G)

line_width(3G)

polyline(3G)

vdc_extent(3G)

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 endpoints with anisotropic mapping (where units in X do not equal units in Y) may produce unexpected, device-dependent results. 

DEFAULT

The default endpoint drawing type is device-dependent. 

SEE ALSO

Starbase Reference: draw(3G), line_width(3G), polyline(3G), vdc_extent(3G). 
Starbase Graphics Techniques.  Starbase Device Drivers Manual. 

 

Hewlett-Packard Company  —  November 03, 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026