msos2.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.
LINEBUNDLE (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_GPIPRIMITIVES
 
typedef struct _LINEBUNDLE {    /* lbnd */
    LONG    lColor;
    LONG    lReserved;
    USHORT  usMixMode;
    USHORT  usReserved;
    FIXED   fxWidth;
    LONG    lGeomWidth;
    USHORT  usType;
    USHORT  usEnd;
    USHORT  usJoin;
} LINEBUNDLE;
 
The LINEBUNDLE structure containes the current line attributes in the
application's presentation space. When the application draws a line or an
arc primitive, MS OS/2 uses these attributes to achieve the correct line
color, width, and style.
 
Field       Description
────────────────────────────────────────────────────────────────────────────
 
 
lColor      Specifies the line color.
 
lReserved   This field is reserved. It must be set to zero.
 
usMixMode   Specifies the mix mode that MS OS/2 uses when it combines the
            line color with the drawing-surface color.
 
usReserved  This field is reserved. It must be set to zero.
 
fxWidth     Specifies the width of cosmetic lines. For MS OS/2 version 1.2,
            this field must be set to 1.
 
lGeomWidth  Specifies the width of a geometric line (in pels).
 
usType      Specifies the cosmetic line type.
 
usEnd       Specifies the end-style for geometric lines.
 
usJoin      Specifies the join-style for geometric lines.
 
See Also
 
GpiQueryAttrs, GpiQueryLineType, GpiQueryLineWidth, GpiSetAttrs,
GpiSetLineType, GpiSetLineWidth