The PATTERNBRUSHNEW structure contains a bitmap that can be used to fill a closed area. Depending on the size of the bitmap and the size of the area to be filled, one or more instances of this bitmap may be used to fill the area.
typedef struct _PATTERNBRUSHNEW
{
pBITMAPHANDLE pPtrnBitmap;
} PATTERNBRUSHNEW, *pPATTERNBRUSHNEW;
Pointer to a bitmap handle to be used to fill the area.L_LoadBitmap can be used to load an image. The bitmap handle that is used should be freed using L_FreeBitmap. The toolkit will use its own copy of the bitmap for the internal processing.