libUEMF
A portable library for reading and writing WMF, EMF and EMF+ files
|
#include <uwmf.h>
Data Fields | |
uint16_t | Style |
BrushStyle Enumeration. | |
U_COLORREF | Color |
Brush Color value, 32 bit value is not aligned. | |
uint8_t | Data [1] |
Brush pattern information, variable size and format. | |
Brush Object WMF manual 2.2.1.1
Documentation is muddy, bColor and bHatch fields have different meanings depending on the value of bStyle. Unclear if bHatch bytes are present in some cases from the documentation.
style Color Data U_BS_SOLID ColorRef Object Not used (bytes present???) U_BS_NULL ignored ignored (bytes present???). U_BS_PATTERN ignored Bitmap16 object holding patern U_BS_DIBPATTERNPT ColorUsage Enum DIB object U_BS_HATCHED ColorRef Object HatchStyle Enumeration