/usr/share/doc/libwmf0.2-7/caolan/CreateBrushIndirect.html is in libwmf-doc 0.2.8.4-10.6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | <head>
<title>META_CREATEBRUSHINDIRECT</title>
</head>
<body link="#CC0000" alink="#FF3300" vlink="#330099" text="#000000" bgcolor="#ffffff" background="pics/weave.jpg">
<h1>NAME</h1>
META_CREATEBRUSHINDIRECT
<h1>NEAREST API CALL</h1>
<pre>#include <windows.h>
HBRUSH32 CreateBrushIndirect(const LOGBRUSH32 *brush);
typedef struct tagLOGBRUSH
{
UINT lbStyle;
COLORREF lbColor;
LONG lbHatch;
} LOGBRUSH;
</pre>
<h1>DESCRIPTION</h1>
<TABLE BORDER >
<TR>
<TD>U16</TD>
<TD>Value</TD>
</TR>
<TR>
<TD>0</TD>
<TD>lbStyle</TD>
</TR>
<TR>
<TD>1</TD>
<TD rowspan=2>lbColor</TD>
</TR>
<TR>
<TD>2</TD>
</TR>
<TR>
<TD>3</TD>
<TD>lbHatch</TD>
</TR>
</TABLE>
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<p>
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.<p>
This operation adds an entry for itself in the object list.
<p><a href="support.html">back</a><p>
</body>
|