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.
_SetLineStyle Procedure
  Summary Details Example                                   Back
 
  Argument
 
    style    Bits of this word determine the line pattern
 
  Description
 
    Some graphics routines (_LineTo, _Rectangle) draw straight lines
    on the screen. The type of line is controlled by the current
    line-style mask.
 
    The _SetLineStyle procedure selects the mask used for line drawing.
    The mask is a 16-bit number, where each bit represents a pixel
    in the line being drawn. If a bit is 1, the corresponding pixel
    is set to the current color of the line. 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 $FFFF (a
    solid line).