This record describes the patterns and colors used in a filled area.
Record Data — BIFF8
|
Offset |
Name |
Size |
Contents |
|
4 |
rgbFore |
4 |
Foreground color: RGB value (high byte = 0) |
|
8 |
rgbBack |
4 |
Background color: RGB value (high byte = 0) |
|
12 |
fls |
2 |
Pattern |
|
14 |
grbit |
2 |
Format flags |
|
16 |
icvFore |
2 |
Index to foreground color |
|
18 |
icvBack |
2 |
Index to background color |
The grbit field contains the following option flags.
|
Offset |
Bits |
Mask |
Name |
Contents |
|
0 |
0 |
01h |
fAuto |
Automatic format |
|
0 |
1 |
02h |
fInvertNeg |
Foreground and background are swapped when the data value is negative |
|
0 |
7 – 2 |
FCh |
(reserved) |
Reserved; must be zero |
|
1 |
7 – 0 |
FFh |
(reserved) |
Reserved; must be zero |
Record Data — BIFF7 and earlier
|
Offset |
Name |
Size |
Contents |
|
4 |
rgbFore |
4 |
Foreground color: RGB value (high byte = 0) |
|
8 |
rgbBack |
4 |
Background color: RGB value (high byte = 0) |
|
12 |
fls |
2 |
Pattern |
|
14 |
grbit |
2 |
Format flags |
The grbit field contains the following option flags.
|
Offset |
Bits |
Mask |
Name |
Contents |
|
0 |
0 |
01h |
fAuto |
Automatic format |
|
0 |
1 |
02h |
fInvertNeg |
Foreground and background are swapped when the data value is negative |
|
0 |
7 – 2 |
FCh |
(reserved) |
Reserved; must be zero |
|
1 |
7 – 0 |
FFh |
(reserved) |
Reserved; must be zero |