Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

line_type(3G)

perimeter_repeat_length(3G)

line_repeat_length(3G)

NAME

line_repeat_length, intline_repeat_length − specify line pattern length for line primitives

SYNOPSIS

C Syntax:

void line_repeat_length ( fildes, length );
int fildes;
float length;

void intline_repeat_length ( fildes, length );
int fildes, length;

FORTRAN77 Syntax:

subroutine line_repeat_length ( fildes, length )
integer*4 fildes
real length

subroutine intline_repeat_length ( fildes, length )
integer*4 fildes, length

Pascal Syntax:

procedure line_repeat_length ( fildes:integer; length:real );

procedure intline_repeat_length ( fildes, length:integer );

DESCRIPTION

Input Parameters

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

length Repeat length of the line-type pattern measured in virtual device units along the x-direction. 

Discussion

This procedure sets the repeat length for polyline and draw output primitives. 

There are some device-dependent limitations for setting repeat length.  Some raster devices round to the nearest multiple of 16 pixels. 

Integer operations are only available when using the INT_XFORM gopen mode. When in INT_XFORM mode, floating point operations are not available for that fildes. Floating point operations are the default, or can be specified with FLOAT_XFORM mode. For a list of integer operations, floating point operations and common operations see the starbase(3G) manual page. 

DEFAULT

Repeat length is 1/32 of the default vdc_extent x-axis. 

SEE ALSO

line_type(3G), perimeter_repeat_length(3G). 

 

Hewlett-Packard Company  —  November 03, 1994

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