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. | |
uint16_t | Hatch |
HatchStyle Enumeration. | |
BitmapInfoHeader Object WMF manual 2.2.2.3
Same as "EMF BITMAPINFOHEADER Object" in uemf.h use U_BITMAPINFOHEADER CIEXYZ Object WMF manual 2.2.2.6 Same as "EMF CIEXYZ Object" in uemf.h CIEXYZTriple Object WMF manual 2.2.2.7 Same as "EMF CIEXYZTRIPLE Object" in uemf.h ColorRef Object WMF manual 2.2.2.8 Same as "EMF COLORREF Object" in uemf.h DeviceIndependentBitmap Object WMF manual 2.2.2.9 This "object" has an organization, but not one that can be easily expressed with a C struct. It consists of three parts, all of which have variable size:
DIBHeaderInfo BitmapCoreHeader or BitmapInfoHeader Object Colors Array of RGBQuad Objects or uint16_t that make a color table, as determined from the DIBHeaderInfo field. BitMapBuffer Array of bytes containing the image.
WLogBrush Object WMF manual 2.2.2.10 Not compatible with EMF LogBrush object!
style Color Hatch U_BS_SOLID ColorRef Object Not used (bytes present???) U_BS_NULL ignored ignored (bytes present???). U_BS_PATTERN ignored not used (Action is not strictly defined) U_BS_DIBPATTERN ignored not used (Action is not strictly defined) U_BS_DIBPATTERNPT ignored not used (Action is not strictly defined) U_BS_HATCHED ColorRef Object HatchStyle Enumeration