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. n is less than or equal to 8 characters.
SEE ALSO
getlsrepeat, setlinestyle
Version 2.4 — May 08, 1986