perimeter_type(3G)
NAME
perimeter_type, bf_perimeter_type − select line type for subsequent polygon perimeters and back-facing polygon perimeters
SYNOPSIS
C Syntax:
void perimeter_type ( fildes, style );
int fildes, style;
void bf_perimeter_type ( fildes, style );
int fildes, style;
FORTRAN77 Syntax:
subroutine perimeter_type ( fildes, style )
integer*4 fildes, style
subroutine bf_perimeter_type ( fildes, style )
integer*4 fildes, style
Pascal Syntax:
procedure perimeter_type ( fildes, style:integer );
procedure bf_perimeter_type ( fildes, style:integer );
DESCRIPTION
Input Parameters
fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
style One of the following:
SOLID
DASH
DOT
DASH_DOT
DASH_DOT_DOT
LONG_DASH
CENTER_DASH
CENTER_DASH_DASH
Discussion
The following perimeter types, and back-facing perimeter types, are pre-defined:
| 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 |
Front-facing polygon edges use the perimeter type specified by perimeter_type. Back-facing polygon edges use the perimeter type specified by bf_perimeter_type after bf_control has been called with attr parameter set to TRUE(1).
The pattern is restarted each time this procedure is executed. Continuity between separate but graphically connected polyline or line segments is not guaranteed.
Some devices do not support this procedure. Negative style values are device-dependent. For example, −1 is a point plot on a terminal.
DEFAULTS
Solid Lines.
SEE ALSO
Starbase Reference: line_type(3G), perimeter_repeat_length(3G). Starbase Device Drivers Manual.
Hewlett-Packard Company — November 03, 1994