LINE_TYPE(3G)
NAME
line_type − select a line type for all subsequent line primitives.
SYNOPSIS
C SYNTAX
void line_type(fildes,style);
int fildes, style;
FORTRAN77 SYNTAX
subroutine line_type(fildes,style)
integer*4 fildes, style
PASCAL SYNTAX
procedure line_type(fildes,style:integer);
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: ANSI Computer Graphics Interface
DESCRIPTION
INPUT PARAMETERS
fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened.
style
is one of the following:
SOLID
DASH
DOT
DASH_DOT
DASH_DOT_DOT
LONG_DASH
CENTER_DASH
CENTER_DASH_DASH
DISCUSSION
Predefined line types are described below:
Index NameApproximate Pattern
0SOLIDSolid
1DASH.25 .50 .25
2DOT4-8 dots per repeat length
3DASH_DOT.4 .1 dot .1 .35
4DASH_DOT_DOT.35 .1 dot .1 dot .1 .35
5LONG_DASH.375 .25 .375
6CENTER_DASH.35 .1 .1 .1 .35
7CENTER_DASH_DASH.25 .1 .1 .1 .1 .1 .25
Negative style values are device dependent, i.e. on a terminal, -1 is a point plot.
Continuity between separate, but graphically connected, polyline or line segments in not guaranteed.
The pattern is restarted each time this procedure is executed.
All devices do not support this procedure.
DEFAULTS
Solid Lines.
SEE ALSO
Starbase Device Drivers Library, line_repeat_length(3g), perimeter_type(3g).
Hewlett-Packard Company — May 11, 2021