PenPat
PenPat Set the graphics pen pattern
#include <Quickdraw.h> Quickdraw
void PenPat(newPat );
PatPtr newPat ; address of a Pattern structure
PenPat sets the pen pattern, which is used by all subsequent Quickdraw
drawing and painting operations.
newPat is the address of an 8-byte Pattern structure.
Returns: none

Notes: This replaces the 8-byte pnPat field of the active GrafPort.
You may use one of the globally- defined patterns, white, gray, ltGray,
dkGray, or black.
PenPat( dkGray ); /* external constant */
Or you can create a pattern and use it:
Pattern myPat;
StuffHex( &myPat, "\p0202020404040808" );
PenPat( &myPat );
Or you can go for the current desktop pattern (as set by the user via the
Control Panel).
PenPat( DeskPattern ); [TOKEN:12074] defined in SysEqu.h */
Or you can use one of the 'standard patterns' by looking it up in the system
resource file:
Pattern myPat; /* structure to hold pattern */
GetIndPattern( &myPat, sysPatListID,12 ); /* brickwork */
PenPat( &myPat );