Windows 3.1 Device Drivers (ddag31qh.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.
PATH_INFO
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct tagPATH_INFO {
    short     RenderMode;
    BYTE      FillMode;
    BYTE      BkMode;
    LPEN      Pen;
    LBRUSH    Brush;
    DWORD     BkColor;
} PATH_INFO;
 
The PATH_INFO structure contains information about a path.
 
Member      Description
────────────────────────────────────────────────────────────────────────────
 
RenderMode  Specifies how to draw the path. This member can have one of the
            following values.
 
            Value           Meaning
            ────────────────────────────────────────────────────────────────
            NO_DISPLAY (0)  Path not drawn.
 
            OPEN (1)        Drawn as an open polygon.
 
            CLOSED (2)      Drawn as a closed polygon.
 
FillMode    Specifies how to fill the path. This member can have one of the
            following values.
 
            Value          Meaning
            ────────────────────────────────────────────────────────────────
            ALTERNATE (1)  Filled using the alternate-fill method.
 
            WINDING (2)    Filled using the winding-fill method.
 
BkMode      Specifies how to use existing colors when filling the path. This
            member is equivalent to the BkMode member of the DRAWMODE
            structure. Drivers that encounter a BkMode of zero should assume
            TRANSPARENT value and ignore BkColor.
 
Pen         Specifies which pen to use to draw the path. If RenderMode is
            set to the NO_DISPLAY value, the pen is ignored.
 
Brush       Specifies which brush to use to draw the path. If RenderMode is
            set to the NO_DISPLAY or OPEN values, the pen is ignored.
 
BkColor     Specifies which background color to use when filling the path.
            This member is equivalent to the BkColor member of the DRAWMODE
            structure.
 
See Also
 
END_PATH, DRAWMODE
 
 
                                      ♦