C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_setlinestyle
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     Some graphics routines (_lineto, _polygon, and _rectangle) draw
     straight lines on the screen. The type of line is controlled by
     the current line-style mask.
 
     The _setlinestyle function selects the mask used for line drawing.
     The <mask> argument is a 16-bit array, where each bit represents a
     pixel in the line being drawn.
 
     If a bit is 1, the corresponding pixel is set to the color of the
     line (the current color). If a bit is 0, the corresponding pixel
     is left unchanged. The template is repeated for the entire length
     of the line.
 
     The default mask is 0xFFFF (a solid line).
 
     Return Value
 
     None.
                                    -♦-