lsrepeat(3G)lsrepeat(3G)NAMElsrepeat - sets a repeat factor for the current linestyle
C SPECIFICATION
void lsrepeat(factor)
long factor;
PARAMETERS
factor expects the repeat factor of the linestyle pattern. The valid
range of factor is 1 through 255.
DESCRIPTIONlsrepeat is used to create linestyles that are longer than 16 bits by
multiplying each bit in the pattern by factor. When a line is drawn,
pixels are written if there is a 1 in the corresponding position of the
linestyle mask and not written if there is a 0 in the corresponding
position. When lsrepeat is used each bit in the pattern is multiplied
successively by factor. If the line pattern is 0000000111111111 and
factor = 3, the resulting linestyle would be 27 bits on followed by 21
bits off. Line patterns start from the least significant bit.
SEE ALSO
deflinestyle, getlsrepeat
Page 1