forlang.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.
getlinestyle
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Some graphics routines (lineto, polygon, and rectangle) output
     straight lines to the screen. The type of line can be controlled
     with the current line-style mask.
 
     The getlinestyle function returns the current line-style mask. The
     mask is a 16-bit array; each bit represents a pixel in the line
     being drawn.
 
     If the bit is 1, the corresponding pixel is set to the color of the
     line (the current color). If the bit is 0, the corresponding pixel
     is left unchanged. The mask is repeated over the length of the
     line. The default mask is 0xFFFF (a solid line).
 
     Return Value
 
     Getlinestyle returns the number representing the current line-
     style mask.
                                    -♦-