qpgraph.hlp (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 Function
  Summary Details Example                                   Back
 
  Returns
 
    Word    Current line-style mask
 
  Description
 
    Some graphics routines (_LineTo 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
    number. The mask is a 16-bit number, where each bit represents a
    pixel in the line being drawn. If the bit is 1, the corresponding
    pixel is set to 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 $FFFF (a solid line).