NAME
META_CREATEBRUSHINDIRECT
NEAREST API CALL
#include <windows.h>
HBRUSH32 CreateBrushIndirect(const LOGBRUSH32 *brush);
typedef struct tagLOGBRUSH
{
UINT        lbStyle;
COLORREF    lbColor;
LONG        lbHatch;
} LOGBRUSH;
DESCRIPTION
U16
Value
0
lbStyle
1
lbColor
2
3
lbHatch
lbColor is the color of the brush, lbStyle can be one of
BS_SOLID,BS_NULL & BS_HATCHED, there are others, but i dont think they can
show up in metafiles
if lbStyle is not hatched then lbHatch is ignored, otherwise lbHatch is one
of
HS_HORIZONTAL,
HS_VERTICAL,
HS_FDIAGONAL,
HS_BDIAGONAL,
HS_CROSS,
HS_DIAGCROSS. See the source for details of these.
This operation adds an entry for itself in the object list.
support.html
back
