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.
PATTERNRECT
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct tagPATTERNRECT {
    POINT prPosition;
    POINT prSize;
    WORD prStyle;
    WORD prPattern;
} PATTERNRECT;
 
The PATTERNRECT structure contains information about a pattern, gray scale,
or black rectangle to be created by a Hewlett-Packard PCL driver.
 
Member      Description
────────────────────────────────────────────────────────────────────────────
 
prPosition  Specifies a POINT structure identifying the upper-left corner of
            the rectangle.
 
prSize      Specifies a POINT structure identifying the lower-right corner
            of the rectangle.
 
prStyle     Specifies the type of pattern. It can be one of the following
            values.
 
            Value  Meaning
            ────────────────────────────────────────────────────────────────
            0      Black rule
 
            1      White rule
 
            2      Gray scale
 
            3      Device defined
 
prPattern   Specifies the percent of gray for a gray scale pattern or
            specifies one of six patterns for device-defined patterns. This
            member is ignored if the value is zero (black rule).
 
See Also
 
DRAWPATTERNRECT
 
 
                                      ♦