Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lsrepeat(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

lsrepeat()  —  Silicon Graphics

NAME

lsrepeat − sets repeat factor for linestyle

SPECIFICATION

C
lsrepeat(factor)
long factor;

FORTRAN
subroutine lsrepe(factor)
integer*4 factor

Pascal
procedure lsrepeat(factor: longint);

DESCRIPTION

lsrepeat sets a repeat factor for the current linestyle. When a line is drawn, pixels are turned on if there is a 1 in the corresponding position of the linestyle mask. For example, the mask 0x5555 specifies that alternate pixels are turned on (assuming the lsrepeat factor is 1). If the repeat factor is n, then the 0x5555 pattern above would draw a line with n bits on and n bits off, alternately.  The valid range of the repeat factor is one through eight. 

SEE ALSO

getlsrepeat, setlinestyle IRIS Graphics Programming, Section 5.1, Linestyles
 

Version 2.5  —  April 22, 1987

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