Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ line_type(3G) — HP-UX 9.10

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

line_repeat_length(3G)

perimeter_type(3G)

line_type(3G)

NAME

line_type − select 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);

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 

style 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 Name Approximate Pattern
0 SOLID Solid
1 DASH .25 .50 .25
2 DOT 4-8 dots per repeat length
3 DASH_DOT .4 .1 dot .1 .35
4 DASH_DOT_DOT .35 .1 dot .1 dot .1 .35
5 LONG_DASH .375 .25 .375
6 CENTER_DASH .35 .1 .1 .1 .35
7 CENTER_DASH_DASH .25 .1 .1 .1 .1 .1 .25

Negative style values are device-dependent. For example, -1 is a point plot on a terminal. 

Continuity between separate, but graphically connected, polyline or line segments is not guaranteed. 

The pattern is restarted each time this procedure is executed. 

Wide lines do not support line types. 

Some devices do not support this procedure. 

DEFAULTS

Solid Lines. 

SEE ALSO

line_repeat_length(3G), perimeter_type(3G), Starbase Device Drivers Library. 

Hewlett-Packard Company  —  HP-UX Release 9.10: April 1995

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