Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lsrepeat(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

lsrepeat()  —  Silicon Graphics Beta Release

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 being drawn, pixels are turned on if there is a 1 in the corresponding position of the linestyle mask. Thus the mask 0x5555 specifies alternate pixels be 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. 

SEE ALSO

getlsrepeat, setlinestyle

Version 2.3  —  July 04, 1985

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