PATTERNRECT

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.

Members

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